FIX Fetch source so that PHPCS config is available

This commit is contained in:
Garion Herman 2019-11-18 14:20:09 +13:00
parent f396ee7242
commit 42af10671e

View File

@ -13,7 +13,7 @@ env:
matrix:
include:
- php: 5.6
env: DB=MYSQL PHPCS_TEST=1 PHPUNIT_TEST=1 RECIPE_VERSION="^1 --prefer-lowest"
env: DB=MYSQL PHPUNIT_TEST=1 RECIPE_VERSION="^1 --prefer-lowest"
- php: 7.0
env: DB=PGSQL PHPUNIT_TEST=1 RECIPE_VERSION="^1"
- php: 7.1
@ -27,10 +27,10 @@ before_script:
- phpenv rehash
- phpenv config-rm xdebug.ini
- composer install --prefer-dist
- composer require --prefer-dist --no-update silverstripe/recipe-cms:$RECIPE_VERSION
- if [[ $DB == PGSQL ]]; then composer require --prefer-dist --no-update silverstripe/postgresql:^2; fi
- composer update
- composer validate
- composer require --no-update silverstripe/recipe-cms:$RECIPE_VERSION
- if [[ $DB == PGSQL ]]; then composer require --no-update silverstripe/postgresql:^2; fi
- composer install --prefer-source --no-interaction --no-progress --no-suggest --optimize-autoloader --verbose --profile
script:
- if [[ $PHPUNIT_TEST ]]; then vendor/bin/phpunit; fi