-
-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #110 from GrahamCampbell/php-55
Restored support for PHP 5.5 and HHVM 3
- Loading branch information
Showing
4 changed files
with
113 additions
and
33 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,34 +1,34 @@ | ||
language: php | ||
|
||
dist: xenial | ||
|
||
cache: | ||
directories: | ||
- $HOME/.composer/cache/files | ||
|
||
php: | ||
- 5.6 | ||
- 7.0 | ||
- 7.1 | ||
- 7.2 | ||
- 7.3 | ||
- 7.4 | ||
|
||
env: | ||
global: | ||
- TEST_COMMAND="composer test" | ||
|
||
matrix: | ||
fast_finish: true | ||
include: | ||
- php: hhvm-3.24 | ||
dist: trusty | ||
- php: 5.5.9 | ||
dist: trusty | ||
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest" COVERAGE=true | ||
- php: 5.5 | ||
dist: trusty | ||
- php: 5.6 | ||
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest" COVERAGE=true TEST_COMMAND="composer test-ci" | ||
dist: xenial | ||
- php: 7.0 | ||
dist: xenial | ||
- php: 7.1 | ||
dist: bionic | ||
- php: 7.2 | ||
dist: bionic | ||
- php: 7.3 | ||
dist: bionic | ||
- php: 7.4 | ||
dist: bionic | ||
fast_finish: true | ||
|
||
before_install: | ||
- if [[ $COVERAGE != true ]]; then phpenv config-rm xdebug.ini || true; fi | ||
- if [[ "$TRAVIS_PHP_VERSION" != "hhvm-3.24" ]]; then echo "xdebug.overload_var_dump = 1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi | ||
- if [[ "$TRAVIS_PHP_VERSION" == "hhvm-3.24" ]]; then travis_retry composer require "phpunit/phpunit:^5.7.27" --dev --no-update -n; fi | ||
|
||
install: | ||
- travis_retry composer update ${COMPOSER_FLAGS} --prefer-dist --no-interaction | ||
- travis_retry composer update --prefer-dist | ||
|
||
script: | ||
- $TEST_COMMAND | ||
- if [[ -z $COVERAGE ]]; then composer test; else composer test-ci; fi |
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
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
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