Skip to content

Commit 3ebee0f

Browse files
Fix PHPUnit for Travis
1 parent caf4751 commit 3ebee0f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ before_script:
3838
- if [ "$SYMFONY_VERSION" != "" ]; then composer require "symfony/symfony:${SYMFONY_VERSION}" --no-update; fi;
3939
- composer update --prefer-dist --no-interaction $COMPOSER_FLAGS
4040

41-
phpunit: if [ "$COVERAGE" == true ]; then phpunit --coverage-text; else phpunit; fi
41+
phpunit: if [ "$COVERAGE" == true ]; then vendor/bin/phpunit --coverage-text; else vendor/bin/phpunit; fi

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@
3232
"phing/phing": "~2.4",
3333
"doctrine/mongodb-odm": "~1.0",
3434
"doctrine/doctrine-bundle": "~1.0",
35-
"doctrine/orm": "~2.2"
35+
"doctrine/orm": "~2.2",
36+
"phpunit/phpunit": "^4.5"
3637
},
3738
"suggest": {
3839
"doctrine/doctrine-bundle": "*",

0 commit comments

Comments
 (0)