Skip to content

Commit

Permalink
Fix PHPUnit for Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentchalamon committed Jul 4, 2017
1 parent caf4751 commit 3ebee0f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ before_script:
- if [ "$SYMFONY_VERSION" != "" ]; then composer require "symfony/symfony:${SYMFONY_VERSION}" --no-update; fi;
- composer update --prefer-dist --no-interaction $COMPOSER_FLAGS

phpunit: if [ "$COVERAGE" == true ]; then phpunit --coverage-text; else phpunit; fi
phpunit: if [ "$COVERAGE" == true ]; then vendor/bin/phpunit --coverage-text; else vendor/bin/phpunit; fi
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
"phing/phing": "~2.4",
"doctrine/mongodb-odm": "~1.0",
"doctrine/doctrine-bundle": "~1.0",
"doctrine/orm": "~2.2"
"doctrine/orm": "~2.2",
"phpunit/phpunit": "^4.5"
},
"suggest": {
"doctrine/doctrine-bundle": "*",
Expand Down

0 comments on commit 3ebee0f

Please sign in to comment.