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
This commit is contained in:
John Blackbourn 2017-04-15 17:44:01 +00:00
parent 232293a9f5
commit e412ead1ac
1 changed files with 7 additions and 7 deletions

View File

@ -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