diff --git a/.travis.yml b/.travis.yml index 2022628d..66a77bc0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/composer.json b/composer.json index a020c76a..1014d7ee 100644 --- a/composer.json +++ b/composer.json @@ -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": "*",