Skip to content

Commit b71718c

Browse files
committed
Use older HHVM version in Travis to fix build
The `hhvm` image in Travis has started using HHVM 4.x which appears to have a problem with the composer version used (1.2.x): Fatal error: Uncaught Error: Keyword __HALT_COMPILER must be written in lowercase in /home/travis/.phpenv/versions/hhvm-stable/bin/composer:27 This changes the `prefer-lowest` HHVM build to use the oldest HHVM image available (3.3) and adds the 4.x HHVM build as allowed to fail. This isn't a permanent change - it's just to get the build passing again for now.
1 parent c5dd793 commit b71718c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,12 @@ matrix:
1111
- php: 7.2
1212
- php: nightly
1313
- php: hhvm
14+
- php: hhvm-3.3
1415
env: COMPOSER_OPTS="--prefer-lowest"
1516

1617
allow_failures:
1718
- php: nightly
19+
- php: hhvm
1820

1921
before_install:
2022
- sudo apt-get update -qq

0 commit comments

Comments
 (0)