23 Commits

Author SHA1 Message Date
John Blackbourn
9f07ed775f Build/Test tools: Use the latest in the 4.x and 5.x branches of PHPUnit when running tests on Travis for the 4.3 branch.
See #41472


git-svn-id: https://develop.svn.wordpress.org/branches/4.3@41300 602fd350-edb4-49c9-b593-d223f7449a82
2017-08-22 17:25:06 +00:00
John Blackbourn
55a9198c2c Build: Switch PHP 5.2 to Travis' Ubuntu precise image for the 4.3 branch.
See #41292


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


git-svn-id: https://develop.svn.wordpress.org/branches/4.3@40830 602fd350-edb4-49c9-b593-d223f7449a82
2017-05-24 14:31:39 +00:00
Aaron Jorbin
16f10a09e5 Build/Test: Post Travis results to Slack from WordPress/wordpress-develop
Backports [40604] to 4.3

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.3@40620 602fd350-edb4-49c9-b593-d223f7449a82
2017-05-11 00:35:12 +00:00
John Blackbourn
640e7edcae 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.3 branch.


git-svn-id: https://develop.svn.wordpress.org/branches/4.3@40551 602fd350-edb4-49c9-b593-d223f7449a82
2017-04-24 00:44:13 +00:00
John Blackbourn
2bf72873ca Build/Test tools: Reverse the order in which the Travis jobs run on the 4.3 branch.
See #39705


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

See #40407


git-svn-id: https://develop.svn.wordpress.org/branches/4.3@40409 602fd350-edb4-49c9-b593-d223f7449a82
2017-04-10 23:25:44 +00:00
Dominik Schilling (ocean90)
93bea01eae Build/Test Tools: Allow Travis CI to cache the node_modules directory.
Merge of [37058] and [36490] to the 4.3 branch.

See #36291, #36490.

git-svn-id: https://develop.svn.wordpress.org/branches/4.3@40281 602fd350-edb4-49c9-b593-d223f7449a82
2017-03-11 17:18:14 +00:00
John Blackbourn
559e0b2c97 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.
* Get Travis builds working on HHVM again.
* In addition, brings the Slack notification settings up to date.

Merges [40255], [40257], [40258], [40259], [40269], and [40271] to the 4.3 branch.

See #35105, #40100, #30755


git-svn-id: https://develop.svn.wordpress.org/branches/4.3@40277 602fd350-edb4-49c9-b593-d223f7449a82
2017-03-11 02:43:29 +00:00
John Blackbourn
66145944be Build/Test Tools: Disable Xdebug when testing on Travis to increase performance.
See #39978


git-svn-id: https://develop.svn.wordpress.org/branches/4.3@40229 602fd350-edb4-49c9-b593-d223f7449a82
2017-03-07 01:10:46 +00:00
Mark Jaquith
ba194364de Switch explicitly from nightly to 7.0 for Travis, for clarity.
props netweb
fixes #33136

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 #31454



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 #31244 



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 #30755


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 #30755



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



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 #30823



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



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 #30755.
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 #29682
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 #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