From dd120b78320b36c162e357b0455f045527845c03 Mon Sep 17 00:00:00 2001 From: Josh Sherman Date: Sun, 7 Jan 2018 23:39:20 -0600 Subject: [PATCH] Cleaned up env stuff Was triggering a few extra builds and was kinda borked --- .travis.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 104e3e0..c5d5d43 100644 --- a/.travis.yml +++ b/.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 ..