From 551a2d790d0d897b43ca430718feaf61bba9669a Mon Sep 17 00:00:00 2001 From: Josh Sherman Date: Sun, 7 Jan 2018 23:31:46 -0600 Subject: [PATCH] Let's try to install it directly --- .travis.yml | 12 ++++++++---- composer.json | 1 - 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index e23ec39..104e3e0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,9 @@ language: php dist: trusty sudo: required +env: + - HHVM=false + - PHPUNIT=phpunit matrix: include: @@ -13,19 +16,20 @@ matrix: - php: 7.1 - php: 7.2 - php: hhvm - env: HHVM=true + env: + - HHVM=true + - PHPUNIT=./vendor/bin/phpunit install: - composer install + - if [[ $HHVM == true ]]; then composer require "phpunit/phpunit:5.7"; fi before_script: - mkdir -p build/logs - cd tests script: - - 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 - + - $PHPUNIT --colors --coverage-clover ../build/logs/clover.xml . after_success: - cd .. diff --git a/composer.json b/composer.json index caba723..9396289 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,6 @@ "php": ">=5.3.0" }, "require-dev": { - "phpunit/phpunit": "5.7.*", "satooshi/php-coveralls": "~1.0" }, "autoload": {