Cleaned up env stuff

Was triggering a few extra builds and was kinda borked
This commit is contained in:
Josh Sherman 2018-01-07 23:39:20 -06:00
parent 551a2d790d
commit dd120b7832
No known key found for this signature in database
GPG key ID: 55B058A80530EF22

View file

@ -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 ..