Cleaned up env stuff
Was triggering a few extra builds and was kinda borked
This commit is contained in:
parent
551a2d790d
commit
dd120b7832
1 changed files with 4 additions and 7 deletions
11
.travis.yml
11
.travis.yml
|
@ -1,9 +1,6 @@
|
||||||
language: php
|
language: php
|
||||||
dist: trusty
|
dist: trusty
|
||||||
sudo: required
|
sudo: required
|
||||||
env:
|
|
||||||
- HHVM=false
|
|
||||||
- PHPUNIT=phpunit
|
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
|
@ -16,9 +13,7 @@ matrix:
|
||||||
- php: 7.1
|
- php: 7.1
|
||||||
- php: 7.2
|
- php: 7.2
|
||||||
- php: hhvm
|
- php: hhvm
|
||||||
env:
|
env: HHVM=true
|
||||||
- HHVM=true
|
|
||||||
- PHPUNIT=./vendor/bin/phpunit
|
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- composer install
|
- composer install
|
||||||
|
@ -29,7 +24,9 @@ before_script:
|
||||||
- cd tests
|
- cd tests
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- $PHPUNIT --colors --coverage-clover ../build/logs/clover.xml .
|
- if [[ $HHVM == true ]]; then ./vendor/bin/phpunit --colors --coverage-clover ../build/logs/clover.xml .; fi
|
||||||
|
- if [[ $HHVM != true ]]; then phpunit --colors --coverage-clover ../build/logs/clover.xml .; fi
|
||||||
|
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- cd ..
|
- cd ..
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue