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

View file

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