Skip to content

Commit

Permalink
Fixed phpunit running twice for the mongodb environment
Browse files Browse the repository at this point in the history
  • Loading branch information
Toflar committed Apr 7, 2019
1 parent 999ce4f commit dd6c1d1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,10 @@ install:

script:
- tests/Fixtures/app/console cache:clear
- vendor/bin/phpunit
- if [[ $APP_ENV = 'mongodb' ]]; then
vendor/bin/phpunit -c phpunit.mongo.xml;
else
vendor/bin/phpunit
fi
- tests/Fixtures/app/console cache:clear
- if [[ $APP_ENV = 'postgres' ]]; then
Expand Down

0 comments on commit dd6c1d1

Please sign in to comment.