39 Commits

Author SHA1 Message Date
John Blackbourn
63a7bc73b0 Build/Test tools: Further trimming of CI jobs on the 4.5 branch.
This removes the PHP 5.6 job which runs without an object cache in place as the likelihood of a change being backported that only breaks 5.6 environments without an object cache is small.

See 


git-svn-id: https://develop.svn.wordpress.org/branches/4.5@45010 602fd350-edb4-49c9-b593-d223f7449a82
2019-03-25 16:28:56 +00:00
John Blackbourn
1d9a3bd8cd Build/Test tools: Switch npm dependency caching strategy on Travis CI.
This switches to caching npm's local cache instead of `node_modules` in order to prevent issues caused by modules compiled using a different version of node.

Merges [44993] into the 4.5 branch.

See 


git-svn-id: https://develop.svn.wordpress.org/branches/4.5@45000 602fd350-edb4-49c9-b593-d223f7449a82
2019-03-25 00:58:06 +00:00
John Blackbourn
d24e82c3cf Build/Test tools: Use the latest in the 4.x and 5.x branches of PHPUnit when running tests on Travis for the 4.5 branch.
See 


git-svn-id: https://develop.svn.wordpress.org/branches/4.5@41298 602fd350-edb4-49c9-b593-d223f7449a82
2017-08-22 17:20:55 +00:00
John Blackbourn
977e256921 Build: Correct the Ubuntu image for PHP 5.2 and 5.6 on the 4.5 branch.
See [41076], .


git-svn-id: https://develop.svn.wordpress.org/branches/4.5@41077 602fd350-edb4-49c9-b593-d223f7449a82
2017-07-18 14:14:37 +00:00
John Blackbourn
2329c68cab Build: Switch PHP 5.2 to Travis' Ubuntu precise image for the 4.5 branch.
See 


git-svn-id: https://develop.svn.wordpress.org/branches/4.5@41076 602fd350-edb4-49c9-b593-d223f7449a82
2017-07-18 14:11:40 +00:00
Konstantin Obenland
c662b5bb4a Import Twenty Sixteen, default theme for 2016.
See .

Merges [40851] and [40852] to the 4.5 branch.


git-svn-id: https://develop.svn.wordpress.org/branches/4.5@40858 602fd350-edb4-49c9-b593-d223f7449a82
2017-05-31 01:28:30 +00:00
John Blackbourn
015ae5df63 Build/Test Tools: Remove mentions of HHVM from the test infrastructure on Travis for the 4.5 branch.
Props netweb

See 


git-svn-id: https://develop.svn.wordpress.org/branches/4.5@40828 602fd350-edb4-49c9-b593-d223f7449a82
2017-05-24 14:28:50 +00:00
Aaron Jorbin
8fb4e44336 Build/Test: Post Travis results to Slack from WordPress/wordpress-develop
Backports [40604] to 4.6

Now that the WordPress/wordpress-develop GitHub repo is syncing correctly, we can use it for Travis integration.

Props jorbin for getting the ball rolling so long ago, unprops jorbin because his Travis build can finally be retired. Props Pento.

See .


git-svn-id: https://develop.svn.wordpress.org/branches/4.5@40618 602fd350-edb4-49c9-b593-d223f7449a82
2017-05-11 00:33:32 +00:00
John Blackbourn
858368702d Build/Test Tools: Add Composer files to the cache on Travis.
The Travis cache is specific to the branch and language version (PHP version), so this should speed up each subsequent build once the cache is primed.

See 

Merges [40538] to the 4.5 branch.


git-svn-id: https://develop.svn.wordpress.org/branches/4.5@40549 602fd350-edb4-49c9-b593-d223f7449a82
2017-04-24 00:41:51 +00:00
John Blackbourn
850b9fb9b5 Build/Test tools: Reverse the order in which the Travis jobs run on the 4.5 branch.
See 


git-svn-id: https://develop.svn.wordpress.org/branches/4.5@40437 602fd350-edb4-49c9-b593-d223f7449a82
2017-04-15 17:48:20 +00:00
John Blackbourn
d4dd178460 Build/Test tools: Trim the test matrix on Travis in order to speed up the 4.5 branch build.
This removes all allowed failure jobs, plus PHP 5.3, 5.4, and 5.5 jobs.

See 


git-svn-id: https://develop.svn.wordpress.org/branches/4.5@40411 602fd350-edb4-49c9-b593-d223f7449a82
2017-04-10 23:27:53 +00:00
John Blackbourn
cc33575669 Build/Test tools: Get Travis builds working on HHVM again.
This change moves to specifying the PHPUnit version for all PHP versions, and fixes an issue where the Composer global bin directory is not at `~/.composer/vendor/bin` on the boxes that are used for HHVM builds.

See 

Merges [40269] and [40271] to the 4.5 branch.


git-svn-id: https://develop.svn.wordpress.org/branches/4.5@40274 602fd350-edb4-49c9-b593-d223f7449a82
2017-03-11 00:13:53 +00:00
John Blackbourn
e9ca30c0c2 Build/Test tools: Switch to Node 4.7.2 when testing the 4.5 branch.
This avoids errors with older dependencies in package.json.

Props netweb

See 


git-svn-id: https://develop.svn.wordpress.org/branches/4.5@40266 602fd350-edb4-49c9-b593-d223f7449a82
2017-03-10 15:21:19 +00:00
Dominik Schilling (ocean90)
974ed62da0 Build/Test Tools: Update .travis.yml to include latest improvements from trunk.
* Explicitly use PHPUnit 5.7 for the PHP 7 builds on Travis.
* On Travis CI install and use the node version which is specified in package.json.
* Add some more debugging to Travis and bring the format of the Xdebug fix inline with branches.

Merge of [40255] and [40257-40259] to the 4.5 branch.

Props netweb, johnbillion.
See , , .

git-svn-id: https://develop.svn.wordpress.org/branches/4.5@40262 602fd350-edb4-49c9-b593-d223f7449a82
2017-03-09 22:40:38 +00:00
John Blackbourn
7bc11f4d1e Build/Test Tools: Disable Xdebug when testing on Travis to increase performance.
See 


git-svn-id: https://develop.svn.wordpress.org/branches/4.5@40227 602fd350-edb4-49c9-b593-d223f7449a82
2017-03-07 01:07:45 +00:00
Aaron Jorbin
cf248314d9 Output node and npm versions on travis.
In order to make local debugging of travis easier, output the npm and node versions when travis runs.

[37730] for 4.5.

see . 


git-svn-id: https://develop.svn.wordpress.org/branches/4.5@37733 602fd350-edb4-49c9-b593-d223f7449a82
2016-06-16 17:31:08 +00:00
Dominik Schilling (ocean90)
2a8573c6ca Travis CI: Allow to cache the node_modules directory.
This should speed up the installation of npm dependencies.

Props netweb.
Fixes .

git-svn-id: https://develop.svn.wordpress.org/trunk@37058 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-22 21:49:36 +00:00
Aaron Jorbin
49a18a8081 Remove PHP 7 from allowed failures list
PHP 7 has released it's 7th (and potentially final) Release Candidate today. While it is still not recommended for use in production, it is at a point that a test failure with it is something that needs to be triaged immediately. Congratulations to the PHP internals team on the upcoming final release of PHP 7.

Fixes 



git-svn-id: https://develop.svn.wordpress.org/trunk@35633 602fd350-edb4-49c9-b593-d223f7449a82
2015-11-12 21:44:24 +00:00
Dominik Schilling (ocean90)
baf6f0bb6d Travis CI: Use a pinned version of the object cache drop-in.
Props tollmanz.
See .

git-svn-id: https://develop.svn.wordpress.org/trunk@35218 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-16 14:15:18 +00:00
Dominik Schilling (ocean90)
159a5b518b Travis: Extend our test suite with a memcached instance.
To test persistent object caching Travis CI runs now a build on PHP 5.6 with memached enabled. The build uses the drop-in from https://github.com/tollmanz/wordpress-pecl-memcached-object-cache which is based on the PECL memcached extension.

Props pento, ocean90.
Fixes .

git-svn-id: https://develop.svn.wordpress.org/trunk@35213 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-15 22:51:38 +00:00
Aaron Jorbin
a0305d5020 Add Twenty Sixteen to travis builds
This allows the automated tests to include Twenty Sixteen.

Fixes . See .



git-svn-id: https://develop.svn.wordpress.org/trunk@35208 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-15 19:05:17 +00:00
Sergey Biryukov
f25ef0e846 Remove fast_finish: true from Travis CI configuration for now.
Upstream: https://github.com/travis-ci/travis-ci/issues/4928

git-svn-id: https://develop.svn.wordpress.org/trunk@35150 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-13 21:35:43 +00:00
Aaron Jorbin
f5276fcaa2 Add PHP Nightlies to the test suite
PHP branched master for 7, which means that nightly builds are now technically 7.1. The difference is minimal at the moment, but it's a good idea for us to test against the nightly build in part so that regressions can be reported upstream. Nightlies are allowed failure so that the build doesn't go red due to unstable versions. Additionally, nightlies are not officially supported by WordPress Core.

See 


git-svn-id: https://develop.svn.wordpress.org/trunk@34776 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-02 16:50:53 +00:00
Aaron Jorbin
85ce7373b1 Move travis secure token under rooms
Travis lint says it is dropping the secure token, hence not actually pinging slack. According to http://docs.travis-ci.com/user/notifications/#Slack-notifications what we encrypt *should* be usable under rooms.  Will this work?  I don't know, but YOLO.

Fixes 



git-svn-id: https://develop.svn.wordpress.org/trunk@34567 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-26 00:03:24 +00:00
Aaron Jorbin
8bf8320afd Fix tabs vs spaces in .travis.yml
Introduced in [34555] . Bad Jorbin.



git-svn-id: https://develop.svn.wordpress.org/trunk@34558 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-25 20:12:09 +00:00
Aaron Jorbin
7576089c46 Add Travis Notifications to the #core channel on Slack
This is hopefully the final attempt at adding notifications to the #core channel on Slack. By default, Travis spams the channel. In order to cut that down a bit, notifications are set as follows:
 - On Failure: Always (If the tests fail, the world needs to know)
 - On Success: Change (this means that the first green run after a red run aka, the world is happy again)
 - On Start: Never (Travis runs every time there is a commit. No need for a notification)

Props Netweb, samuelsidler
Fixes 



git-svn-id: https://develop.svn.wordpress.org/trunk@34555 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-25 19:42:53 +00:00
Mark Jaquith
ba194364de Switch explicitly from nightly to 7.0 for Travis, for clarity.
props netweb
fixes 

git-svn-id: https://develop.svn.wordpress.org/trunk@33443 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-27 15:15:34 +00:00
Aaron Jorbin
21f4857a32 Run unit tests on Travis CI with php nightlies
With PHP7 in active development, this will help us identify issues there. Also will be fun to see how fast it is.

Fixes 



git-svn-id: https://develop.svn.wordpress.org/trunk@31558 602fd350-edb4-49c9-b593-d223f7449a82
2015-02-26 17:49:13 +00:00
Aaron Jorbin
f5e1e43410 Restore PHP 5.2 to Travis CI
Travis restored PHP 5.2 support late last week.

upstream: https://github.com/travis-ci/travis-ci/issues/3152

Props netweb for the heads up
Fixes  



git-svn-id: https://develop.svn.wordpress.org/trunk@31472 602fd350-edb4-49c9-b593-d223f7449a82
2015-02-18 17:46:18 +00:00
Aaron Jorbin
0b5e8a1702 Travis hates tabs.
Related [31352]

see 


git-svn-id: https://develop.svn.wordpress.org/trunk@31353 602fd350-edb4-49c9-b593-d223f7449a82
2015-02-06 05:57:54 +00:00
Aaron Jorbin
b42b3b7c14 Update Travis-ci Slack notification token
see 



git-svn-id: https://develop.svn.wordpress.org/trunk@31352 602fd350-edb4-49c9-b593-d223f7449a82
2015-02-06 05:51:58 +00:00
Aaron Jorbin
6a100e472f Temporarily (I hope) remove PHP 5.2 from tests being run on travis-ci
Travis-ci has disabled PHP 5.2. This has happened before when 5.2 didn't compile and then was restored when that was fixed.

upstream: https://github.com/travis-ci/travis-ci/issues/3152
related: https://github.com/WP-API/WP-API/issues/846

See .



git-svn-id: https://develop.svn.wordpress.org/trunk@31350 602fd350-edb4-49c9-b593-d223f7449a82
2015-02-06 05:13:37 +00:00
Aaron Jorbin
86db4d88fe Update npm on Travis CI as a part of build
Travis has an outdated version of NPM.  While this is currently only generating a warning, in the future it could cause actual errors.

Fixes 



git-svn-id: https://develop.svn.wordpress.org/trunk@30988 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-22 23:46:46 +00:00
Aaron Jorbin
876ce714fc Switch to container-based infrastructure on Travis CI.
The container-based infrastructure has more memory and more cores.  It also is designed to startup faster. We give up the ability to use sudo, but we aren't using that right now so we should be good.

Props netweb, tw2113.
Fixes .



git-svn-id: https://develop.svn.wordpress.org/trunk@30987 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-22 23:25:40 +00:00
Andrew Nacin
47d5cadf38 Add Slack notifications to Travis CI config. fixes .
git-svn-id: https://develop.svn.wordpress.org/trunk@30963 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-17 23:50:37 +00:00
Aaron Jorbin
3fa30bdd37 PHP 5.6 test failures shouldn't be allowed.
PHP 5.6 was released on 28 August 2014 and thus tests on it should be on the same level as all of our other PHP tests pass.

Fixes 
Props netweb



git-svn-id: https://develop.svn.wordpress.org/trunk@29844 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-06 20:00:54 +00:00
Scott Taylor
562d64a4a3 Improve Travis CI configuration for better performance.
Props netweb, jorbin.
Fixes .


git-svn-id: https://develop.svn.wordpress.org/trunk@28799 602fd350-edb4-49c9-b593-d223f7449a82
2014-06-21 20:05:19 +00:00
Andrew Nacin
3abea9370b Add jshint to Travis CI config.
props jorbin.
fixes .


git-svn-id: https://develop.svn.wordpress.org/trunk@27267 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-25 17:57:04 +00:00
Andrew Nacin
5e14491a2e Add a Travis CI configuration file.
props bpetty.
fixes .


git-svn-id: https://develop.svn.wordpress.org/trunk@26534 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 19:41:26 +00:00