Skip to content

Travis: change from "trusty" to "xenial" #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 30, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
  • Loading branch information
jrfnl committed Jul 20, 2020
commit 63d8893f453f246e8733c9ca5019bf8111a970d3
15 changes: 12 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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"
Expand Down