Merge pull request #249 from open-sausages/pulls/master/fix-travis-health

TravisCI / fix health test, install serve
This commit is contained in:
Robbie Averill 2019-02-02 11:14:38 +03:00 committed by GitHub
commit 06069744b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -79,6 +79,7 @@ before_script:
- composer validate
- if [[ $DB == PGSQL ]]; then composer require --no-update silverstripe/postgresql:3.x-dev; fi
- if [[ $BEHAT_TEST ]]; then composer require --no-update silverstripe/recipe-testing:^2; fi;
- if [[ $HEALTH_TEST ]]; then composer require --no-update silverstripe/serve:^3; fi;
- if ! [[ $HEALTH_TEST ]]; then composer install --prefer-source --no-interaction --no-progress --no-suggest --optimize-autoloader --verbose --profile; fi;
- if [[ $HEALTH_TEST ]]; then composer install --prefer-dist --no-interaction --no-progress --no-suggest --optimize-autoloader --verbose --profile --no-dev; fi;