Skip to content

Commit 951278e

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.4 and PHP `nightly` (= PHP 8), allowing the build against PHP 8 to fail for now.
1 parent 63a3f0b commit 951278e

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.travis.yml

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

34
php:
@@ -8,8 +9,14 @@ php:
89
- 7.1
910
- 7.2
1011
- 7.3
12+
- 7.4
13+
- "nightly"
1114

12-
sudo: false
15+
jobs:
16+
fast_finish: true
17+
allow_failures:
18+
# Allow failures for unstable builds.
19+
- php: "nightly"
1320

1421
cache:
1522
directories:

0 commit comments

Comments
 (0)