Update InstallCommand test

They are god damn too long to execute because it launch external command (mostly related to doctrine).

So I've added a PHPUnit @group (`command-doctrine`) so that we can avoid launching them on a regular basis, like that:

`phpunit --exclude-group command-doctrine`
This commit is contained in:
Jeremy
2015-03-28 21:45:35 +01:00
parent 371ac69a6b
commit 0ee043f745
3 changed files with 35 additions and 6 deletions

View File

@ -31,11 +31,11 @@ install:
# build coverage only on one build, to speed up results feedbacks
before_script:
- if [[ "$TRAVIS_PHP_VERSION" = "5.6" ]]; then PHPUNIT_FLAGS="--coverage-clover=coverage.clover"; fi;
- if [[ "$TRAVIS_PHP_VERSION" = "5.6" ]]; then PHPUNIT_FLAGS="--coverage-clover=coverage.clover"; else PHPUNIT_FLAGS=""; fi;
script:
- ant prepare
- phpunit $PHPUNIT_FLAGS
- phpunit --exclude-group command-doctrine $PHPUNIT_FLAGS
after_script:
- |