Commit Graph

13 Commits

Author SHA1 Message Date
John Blackbourn
239c1aaa46 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.0 branch.

See #46632


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


git-svn-id: https://develop.svn.wordpress.org/branches/4.0@41303 602fd350-edb4-49c9-b593-d223f7449a82
2017-08-22 17:28:53 +00:00
John Blackbourn
4b5d60b300 Build: Switch PHP 5.2 to Travis' Ubuntu precise image for the 4.0 branch.
See #41292


git-svn-id: https://develop.svn.wordpress.org/branches/4.0@41082 602fd350-edb4-49c9-b593-d223f7449a82
2017-07-18 14:51:45 +00:00
John Blackbourn
395373f133 Build/Test Tools: Remove mentions of HHVM from the test infrastructure on Travis for the 4.0 branch.
See #40548


git-svn-id: https://develop.svn.wordpress.org/branches/4.0@40833 602fd350-edb4-49c9-b593-d223f7449a82
2017-05-24 14:34:40 +00:00
Aaron Jorbin
db92b7dfbe Build/Test: Post Travis results to Slack from WordPress/wordpress-develop
Backports [40604] to 4.0

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 #40712.


git-svn-id: https://develop.svn.wordpress.org/branches/4.0@40623 602fd350-edb4-49c9-b593-d223f7449a82
2017-05-11 00:38:56 +00:00
John Blackbourn
f594b54fcd 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 #40539

Merges [40538] to the 4.0 branch.


git-svn-id: https://develop.svn.wordpress.org/branches/4.0@40554 602fd350-edb4-49c9-b593-d223f7449a82
2017-04-24 00:48:25 +00:00
John Blackbourn
328cd96697 Build/Test tools: Reverse the order in which the Travis jobs run on the 4.0 branch.
See #39705


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

See #40407


git-svn-id: https://develop.svn.wordpress.org/branches/4.0@40413 602fd350-edb4-49c9-b593-d223f7449a82
2017-04-10 23:35:00 +00:00
Dominik Schilling (ocean90)
92118c3d14 Build/Test Tools: Update .travis.yml to include latest improvements from trunk.
* On Travis CI install and use node version 0.10.48 to ensure correct node-sass builds.
* Explicitly use PHPUnit 5.7 for the PHP 7 builds on Travis.
* Add some more debugging to Travis and bring the format of the Xdebug fix inline with branches.
* Get Travis builds working on HHVM again.
* In addition, brings the Slack notification settings up to date and allows Travis CI to cache the node_modules directory.

Merge of [40255], [40257],[40259], [40269], and [40271] to the 4.0 branch.

See #35105, #40100, #30755, #36291, #36490.

git-svn-id: https://develop.svn.wordpress.org/branches/4.0@40288 602fd350-edb4-49c9-b593-d223f7449a82
2017-03-13 22:55:28 +00:00
John Blackbourn
3f0e1e6780 Build/Test Tools: Disable Xdebug when testing on Travis to increase performance.
See #39978


git-svn-id: https://develop.svn.wordpress.org/branches/4.0@40232 602fd350-edb4-49c9-b593-d223f7449a82
2017-03-07 01:14:16 +00:00
Scott Taylor
562d64a4a3 Improve Travis CI configuration for better performance.
Props netweb, jorbin.
Fixes #28301.


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 #26446.


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 #26364.


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