Let's try to install it directly
This commit is contained in:
parent
1f016c6b4b
commit
551a2d790d
2 changed files with 8 additions and 5 deletions
12
.travis.yml
12
.travis.yml
|
@ -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 ..
|
||||||
|
|
|
@ -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": {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue