Skip to content

Commit 58e1ad0

Browse files
jrfnlgrogy
authored andcommitted
Travis: fix build and other tweaks
* The build was running on `xenial` which does not have `ant` installed by default, nor has PHP 5.4/5.5 images available. Switching to the `trusty` distribution fixes this. * Support for `sudo: false` has been removed from Travis over a year ago. * Test against PHP 7.3, 7.4 and PHP `nightly` (= PHP 8), allowing the build against PHP 8 to fail for now.
1 parent 7b4fc72 commit 58e1ad0

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.travis.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
dist: trusty
12
language: php
23

34
php:
@@ -7,8 +8,15 @@ php:
78
- 7.0
89
- 7.1
910
- 7.2
10-
11-
sudo: false
11+
- 7.3
12+
- 7.4
13+
- "nightly"
14+
15+
jobs:
16+
fast_finish: true
17+
allow_failures:
18+
# Allow failures for unstable builds.
19+
- php: "nightly"
1220

1321
cache:
1422
directories:

0 commit comments

Comments
 (0)