From 3d841a409c43752a8192afea5ebc48327e2ac3d3 Mon Sep 17 00:00:00 2001 From: Serge Latyntcev Date: Tue, 18 Dec 2018 16:38:40 +1300 Subject: [PATCH] FIX / Behat tests Most of the modules stop exporting metadata files (behat.yml among those) to packagist Thus when travis runs behat tests it cannot find configuration for the test suites --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 1f89868..473319d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -80,7 +80,7 @@ before_script: - if [[ $DB == PGSQL ]]; then composer require --no-update silverstripe/postgresql:2.0.x-dev; fi - if [[ $BEHAT_TEST ]]; then composer require --no-update silverstripe/recipe-testing:^1; fi; - if [[ $HEALTH_TEST ]]; then composer require --no-update silverstripe/serve:^2; fi; - - if ! [[ $HEALTH_TEST ]]; then composer install --prefer-dist --no-interaction --no-progress --no-suggest --optimize-autoloader --verbose --profile; 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; # Start behat services