Skip to content

Commit 666889f

Browse files
jrfnlgrogy
authored andcommitted
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.
1 parent 34dec27 commit 666889f

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

.travis.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
1-
dist: trusty
1+
os: linux
2+
dist: xenial
23
language: php
34

5+
addons:
6+
apt:
7+
packages:
8+
- ant
9+
410
php:
5-
- 5.4
6-
- 5.5
711
- 5.6
812
- 7.0
913
- 7.1
@@ -14,6 +18,11 @@ php:
1418

1519
jobs:
1620
fast_finish: true
21+
include:
22+
- php: 5.4
23+
dist: trusty
24+
- php: 5.5
25+
dist: trusty
1726
allow_failures:
1827
# Allow failures for unstable builds.
1928
- php: "nightly"

0 commit comments

Comments
 (0)