Skip to content

Commit

Permalink
Require phpunit
Browse files Browse the repository at this point in the history
  • Loading branch information
mcg-web committed Jul 28, 2017
1 parent 0d53889 commit 8ca3d37
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ before_install:
install:
- composer update --prefer-dist --no-interaction

script: if [ "$TRAVIS_PHP_VERSION" == "5.6" ]; then phpunit -d xdebug.max_nesting_level=1000 --debug --coverage-clover=coverage.clover; else phpunit --debug; fi
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

#after_script:
# - 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
5 changes: 4 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,17 @@
]
},
"config" : {
"bin-dir": "bin",
"sort-packages": true
},
"require": {
"php": "^5.3.6|~7.0",
"apache/thrift": ">=0.9.1",
"symfony/symfony": "~2.3|~3.0"
},
"require-dev": {},
"require-dev": {
"phpunit/phpunit": "^4.1 || ^5.5"
},
"extra": {
"branch-alias": {
"dev-master": "0.9-dev"
Expand Down

0 comments on commit 8ca3d37

Please sign in to comment.