Skip to content

Commit

Permalink
Use vendor/bin/phpunit on travis.
Browse files Browse the repository at this point in the history
Signed-off-by: crynobone <crynobone@gmail.com>
  • Loading branch information
crynobone committed Apr 19, 2017
1 parent 800f416 commit 2d12d66
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Expand Up @@ -20,8 +20,8 @@ before_script:
- if [[ $setup = 'coveralls' ]]; then travis_retry composer require "satooshi/php-coveralls=~0.7" --prefer-dist --no-interaction --dev; fi

script:
- if [[ $coverage = 'yes' ]]; then phpunit -c phpunit.xml --coverage-clover build/logs/clover.xml; fi
- if [[ $coverage = 'no' ]]; then phpunit -c phpunit.xml; fi
- if [[ $coverage = 'yes' ]]; then vendor/bin/phpunit -c phpunit.xml --coverage-clover build/logs/clover.xml; fi
- if [[ $coverage = 'no' ]]; then vendor/bin/phpunit -c phpunit.xml; fi

after_script:
- if [[ $setup = 'coveralls' ]]; then php vendor/bin/coveralls -v; fi
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Expand Up @@ -25,7 +25,8 @@
"require-dev": {
"illuminate/auth": "~5.3.0",
"illuminate/database": "~5.3.0",
"mockery/mockery": "^0.9.4"
"mockery/mockery": "^0.9.4",
"phpunit/phpunit": "~5.7"
},
"extra": {
"branch-alias": {
Expand Down

0 comments on commit 2d12d66

Please sign in to comment.