Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix PHP 5.4 and 5.5 tests; drop HHVM support
- Loading branch information
1 parent
3e8693c
commit 754c06f
Showing
1 changed file
with
6 additions
and
6 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,27 @@ | ||
language: php | ||
|
||
php: | ||
- "5.4" | ||
- "5.5" | ||
- "5.6" | ||
- "7.0" | ||
- "7.1" | ||
- "7.2" | ||
- "7.3" | ||
- "hhvm" | ||
|
||
matrix: | ||
include: | ||
- php: 5.3 | ||
dist: precise | ||
- php: 5.4 | ||
dist: trusty | ||
- php: 5.5 | ||
dist: trusty | ||
|
||
sudo: false | ||
|
||
install: travis_retry composer install --no-interaction --prefer-source | ||
|
||
script: | ||
- if [ "$TRAVIS_PHP_VERSION" == "hhvm" ]; then vendor/bin/phpunit; fi | ||
- if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover; fi | ||
- vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover | ||
|
||
after_script: | ||
- if [ "$TRAVIS_PHP_VERSION" != "hhvm" ] && [ "$TRAVIS_PHP_VERSION" != "7.0" ]; then vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover; fi | ||
- if [ "$TRAVIS_PHP_VERSION" != "7.0" ]; then vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover; fi |