From e412ead1ac24ab27b5c2b0f4dc4ccc9fc4ca6f0b Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Sat, 15 Apr 2017 17:44:01 +0000 Subject: [PATCH] Build/Test tools: Reverse the order in which the Travis jobs run. As a general rule, this means the fastest test jobs now run first because each subsequent version of PHP is faster than the previous. When a committer is patiently waiting for a Travis build to complete, they are at least more likely to see unexpected failures earlier than they otherwise would. In addition, this updates the JavaScript test job to run on PHP 7.1. Props netweb See #39705 Merges [40434] to the 4.7 branch. git-svn-id: https://develop.svn.wordpress.org/branches/4.7@40435 602fd350-edb4-49c9-b593-d223f7449a82 --- .travis.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8196d391a3..e880f6d636 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,16 +9,18 @@ env: - WP_TRAVISCI=travis:phpunit matrix: include: - - php: 7.0 + - php: 7.1 env: WP_TRAVISCI=travis:js - - php: 5.2 - - php: 5.3 - - php: 5.4 - - php: 5.5 + - php: 7.1 + - php: 7.0 - php: 5.6 - php: 5.6 env: WP_TRAVIS_OBJECT_CACHE=true services: memcached + - php: 5.5 + - php: 5.4 + - php: 5.3 + - php: 5.2 - php: hhvm sudo: required dist: trusty @@ -29,8 +31,6 @@ matrix: - mysql-server-5.6 - mysql-client-core-5.6 - mysql-client-5.6 - - php: 7.0 - - php: 7.1 - php: nightly allow_failures: - php: hhvm