Use Ubuntu Trusty by default and Precise for PHP 5.2

Starting July 18th 2017, Travis will begin switching the default image to trusty, which does not support PHP 5.2 or 5.3.

https://blog.travis-ci.com/2017-07-11-trusty-as-default-linux-is-coming
This commit is contained in:
Ulrich Pogson 2017-07-18 23:40:25 +02:00
parent e88d9e02d9
commit 4e69e3ffe1
1 changed files with 2 additions and 0 deletions

View File

@ -8,6 +8,7 @@
# @link http://docs.travis-ci.com/user/migrating-from-legacy/#Why-migrate-to-container-based-infrastructure%3F # @link http://docs.travis-ci.com/user/migrating-from-legacy/#Why-migrate-to-container-based-infrastructure%3F
# @link http://docs.travis-ci.com/user/workers/container-based-infrastructure/#Routing-your-build-to-container-based-infrastructure # @link http://docs.travis-ci.com/user/workers/container-based-infrastructure/#Routing-your-build-to-container-based-infrastructure
sudo: false sudo: false
dist: trusty
# Declare project language. # Declare project language.
# @link http://about.travis-ci.org/docs/user/languages/php/ # @link http://about.travis-ci.org/docs/user/languages/php/
@ -22,6 +23,7 @@ matrix:
# Current $required_php_version for WordPress: 5.2.4 # Current $required_php_version for WordPress: 5.2.4
# aliased to 5.2.17 # aliased to 5.2.17
- php: '5.2' - php: '5.2'
dist: precise
# aliased to a recent 5.6.x version # aliased to a recent 5.6.x version
- php: '5.6' - php: '5.6'
env: SNIFF=1 env: SNIFF=1