Let's try to install it directly

This commit is contained in:
Josh Sherman 2018-01-07 23:31:46 -06:00
parent 1f016c6b4b
commit 551a2d790d
No known key found for this signature in database
GPG key ID: 55B058A80530EF22
2 changed files with 8 additions and 5 deletions

View file

@ -1,6 +1,9 @@
language: php language: php
dist: trusty dist: trusty
sudo: required sudo: required
env:
- HHVM=false
- PHPUNIT=phpunit
matrix: matrix:
include: include:
@ -13,19 +16,20 @@ matrix:
- php: 7.1 - php: 7.1
- php: 7.2 - php: 7.2
- php: hhvm - php: hhvm
env: HHVM=true env:
- HHVM=true
- PHPUNIT=./vendor/bin/phpunit
install: install:
- composer install - composer install
- if [[ $HHVM == true ]]; then composer require "phpunit/phpunit:5.7"; fi
before_script: before_script:
- mkdir -p build/logs - mkdir -p build/logs
- cd tests - cd tests
script: script:
- if [[ $HHVM == true ]]; then ./vendor/bin/phpunit --colors --coverage-clover ../build/logs/clover.xml .; fi - $PHPUNIT --colors --coverage-clover ../build/logs/clover.xml .
- if [[ $HHVM != true ]]; then phpunit --colors --coverage-clover ../build/logs/clover.xml .; fi
after_success: after_success:
- cd .. - cd ..

View file

@ -15,7 +15,6 @@
"php": ">=5.3.0" "php": ">=5.3.0"
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "5.7.*",
"satooshi/php-coveralls": "~1.0" "satooshi/php-coveralls": "~1.0"
}, },
"autoload": { "autoload": {