mirror of
https://github.com/justinrainbow/json-schema.git
synced 2025-01-29 11:43:04 +01:00
Fix: Generate coverage on one PHP version only
This commit is contained in:
parent
f3380ebccd
commit
c4c862734c
@ -8,16 +8,18 @@ matrix:
|
||||
- php: 5.4
|
||||
- php: 5.5
|
||||
- php: 5.6
|
||||
env: WITH_COVERAGE=true
|
||||
- php: 7
|
||||
- php: hhvm
|
||||
allow_failures:
|
||||
- php: 7
|
||||
|
||||
before_install:
|
||||
- if [[ "$WITH_COVERAGE" != "true" && "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then phpenv config-rm xdebug.ini; fi
|
||||
- composer selfupdate
|
||||
|
||||
install:
|
||||
- travis_retry composer install --no-interaction --prefer-source
|
||||
|
||||
script:
|
||||
- vendor/bin/phpunit --coverage-text
|
||||
- if [[ "$WITH_COVERAGE" == "true" ]]; then vendor/bin/phpunit --coverage-text; else vendor/bin/phpunit; fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user