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
|
||||
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 ..
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
"php": ">=5.3.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "5.7.*",
|
||||
"satooshi/php-coveralls": "~1.0"
|
||||
},
|
||||
"autoload": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue