From b55133da6eeb5882f1dc1f8595c4226cc7ca26be Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Sat, 15 Apr 2017 17:42:07 +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 git-svn-id: https://develop.svn.wordpress.org/trunk@40434 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