forked from wallabag/wallabag
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:
@ -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:
|
||||
- |
|
||||
|
||||
Reference in New Issue
Block a user