Last active
March 10, 2018 05:01
-
-
Save h4cc/9141671 to your computer and use it in GitHub Desktop.
HHVM Travis-Ci template as allowed failure.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
language: php | |
php: | |
- 5.3 | |
- 5.4 | |
- 5.5 | |
- 5.6 | |
- hhvm | |
matrix: | |
allow_failures: | |
- php: hhvm | |
before_script: | |
- travis_retry composer self-update | |
- travis_retry composer --prefer-source --dev install | |
script: | |
- phpunit --coverage-text tests |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using
- hhvm
only tests against the EOL hhvm 3.6.6 versionThe code below provides the current HHVM version (3.15.2 as of this comment) and will track with each release (i.e. will be 3.16 when 3.16 is released).
If testing against HHVM LST versions is desired follow this guide. https://docs.travis-ci.com/user/languages/php#HHVM-versions
Should be able to change to container based Trusty after Q1-17 https://blog.travis-ci.com/2016-11-08-trusty-container-public-beta/