From 63d8893f453f246e8733c9ca5019bf8111a970d3 Mon Sep 17 00:00:00 2001 From: jrfnl Date: Mon, 20 Jul 2020 21:39:39 +0200 Subject: [PATCH] Travis: change from "trusty" to "xenial" As the "trusty" environment is no longer officially supported by Travis, they decided in their wisdom to silently stop updating the PHP "nightly" image, which makes it next to useless as the last image apparently is from January.... This updates the Travis config to: * Use the `xenial` distro, which at this time is the default. * Sets the distro for low PHP versions explicitly to `trusty`. * Makes the expected OS explicit (linux). * The `xenial` distro is quite bare, so `ant` is not available by default. Adding this as an `addon` fixes that. --- .travis.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index a511e0b..c775c11 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +1,13 @@ -dist: trusty +os: linux +dist: xenial language: php +addons: + apt: + packages: + - ant + php: - - 5.4 - - 5.5 - 5.6 - 7.0 - 7.1 @@ -14,6 +18,11 @@ php: jobs: fast_finish: true + include: + - php: 5.4 + dist: trusty + - php: 5.5 + dist: trusty allow_failures: # Allow failures for unstable builds. - php: "nightly"