Skip to content

Commit

Permalink
Fix Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
antalaron committed Jan 10, 2020
1 parent 1fea482 commit e945824
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,35 +7,30 @@ dist: trusty
php:
- 5.6
- 7.0
- 7.1
- 7.2
- 7.3
- nightly
- hhvm

env:
- VALIDATOR_VERSION="2.7.*"
- VALIDATOR_VERSION="2.8.*"
- VALIDATOR_VERSION="3.4.*"
- VALIDATOR_VERSION="4.0.*"
- VALIDATOR_VERSION="5.0.*"

matrix:
fast_finish: true
exclude:
- php: 5.6
env: VALIDATOR_VERSION="4.0.*"
env: VALIDATOR_VERSION="5.0.*"
- php: 7.0
env: VALIDATOR_VERSION="4.0.*"
env: VALIDATOR_VERSION="5.0.*"
allow_failures:
- php: nightly
- php: hhvm

before_script:
- mkdir -p build/logs
- composer require symfony/validator:${VALIDATOR_VERSION} --prefer-dist --no-interaction --no-progress

script:
- vendor/bin/phpunit -v --coverage-clover build/logs/clover.xml
- if [ "${TRAVIS_PHP_VERSION}" != 'hhvm' ] && [ "${TRAVIS_PHP_VERSION}" != 'nightly' ]; then travis_retry wget -q https://github.com/satooshi/php-coveralls/releases/download/v1.0.1/coveralls.phar && travis_retry php coveralls.phar -v; fi
- if [ "${TRAVIS_PHP_VERSION}" != 'nightly' ]; then travis_retry wget -q https://github.com/satooshi/php-coveralls/releases/download/v1.0.1/coveralls.phar && travis_retry php coveralls.phar -v; fi

notifications:
email:
Expand Down

0 comments on commit e945824

Please sign in to comment.