Skip to content

Commit 8ca3d37

Browse files
author
Jeremiah VALERIE
committed
Require phpunit
1 parent 0d53889 commit 8ca3d37

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ before_install:
4646
install:
4747
- composer update --prefer-dist --no-interaction
4848

49-
script: if [ "$TRAVIS_PHP_VERSION" == "5.6" ]; then phpunit -d xdebug.max_nesting_level=1000 --debug --coverage-clover=coverage.clover; else phpunit --debug; fi
49+
script: if [ "$TRAVIS_PHP_VERSION" == "5.6" ]; then bin/phpunit -d xdebug.max_nesting_level=1000 --debug --coverage-clover=coverage.clover; else bin/phpunit --debug; fi
5050

5151
#after_script:
5252
# - if [ "$TRAVIS_PHP_VERSION" == "5.6" ]; then wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi

composer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,17 @@
1717
]
1818
},
1919
"config" : {
20+
"bin-dir": "bin",
2021
"sort-packages": true
2122
},
2223
"require": {
2324
"php": "^5.3.6|~7.0",
2425
"apache/thrift": ">=0.9.1",
2526
"symfony/symfony": "~2.3|~3.0"
2627
},
27-
"require-dev": {},
28+
"require-dev": {
29+
"phpunit/phpunit": "^4.1 || ^5.5"
30+
},
2831
"extra": {
2932
"branch-alias": {
3033
"dev-master": "0.9-dev"

0 commit comments

Comments
 (0)