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
|
||||
dist: trusty
|
||||
sudo: required
|
||||
env:
|
||||
- HHVM=false
|
||||
- PHPUNIT=phpunit
|
||||
|
||||
matrix:
|
||||
include:
|
||||
|
@ -16,9 +13,7 @@ matrix:
|
|||
- php: 7.1
|
||||
- php: 7.2
|
||||
- php: hhvm
|
||||
env:
|
||||
- HHVM=true
|
||||
- PHPUNIT=./vendor/bin/phpunit
|
||||
env: HHVM=true
|
||||
|
||||
install:
|
||||
- composer install
|
||||
|
@ -29,7 +24,9 @@ before_script:
|
|||
- cd tests
|
||||
|
||||
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:
|
||||
- cd ..
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue