Skip to content

Commit

Permalink
Test on PHP 7.4 and HHVM (3.18 explicitly) (#605)
Browse files Browse the repository at this point in the history
* Test on PHP 7.4 and HHVM (3.18 explicitly)
* Update .travis.yml
  • Loading branch information
GrahamCampbell authored and erayd committed Dec 20, 2019
1 parent 0107607 commit 9153066
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
sudo: false
language: php

cache:
Expand All @@ -23,16 +22,17 @@ matrix:
- php: 7.1
- php: 7.2
- php: 7.3
- php: 'nightly'
- php: hhvm
- php: 7.4
- php: nightly
- php: hhvm-3.18
dist: trusty
allow_failures:
- php: 'nightly'
- php: hhvm
- php: nightly
- php: hhvm-3.18

before_install:
- if [[ "$WITH_COVERAGE" != "true" && "$TRAVIS_PHP_VERSION" != "hhvm" && "$TRAVIS_PHP_VERSION" != "nightly" && "$TRAVIS_PHP_VERSION" != "7.1" ]]; then phpenv config-rm xdebug.ini; fi
- if [[ "$TRAVIS_PHP_VERSION" = "hhvm" || "$TRAVIS_PHP_VERSION" = "nightly" ]]; then sed -i '/^.*friendsofphp\/php-cs-fixer.*$/d' composer.json; fi
- if [[ "$WITH_COVERAGE" != "true" && "$TRAVIS_PHP_VERSION" != "hhvm-3.18" && "$TRAVIS_PHP_VERSION" != "nightly" && "$TRAVIS_PHP_VERSION" != "7.1" ]]; then phpenv config-rm xdebug.ini; fi
- if [[ "$TRAVIS_PHP_VERSION" = "hhvm-3.18" || "$TRAVIS_PHP_VERSION" = "nightly" ]]; then sed -i '/^.*friendsofphp\/php-cs-fixer.*$/d' composer.json; fi

install:
- travis_retry composer install --no-interaction --prefer-dist
Expand Down

0 comments on commit 9153066

Please sign in to comment.