Add phpcs to travis build

This commit is contained in:
Will Rossiter 2018-01-18 18:40:29 +13:00
parent 742724dad4
commit 9e7aed0f2d

View File

@ -22,6 +22,7 @@ before_script:
- composer validate
- composer require silverstripe/recipe-cms 1.0.x-dev --no-update
- if [[ $DB == PGSQL ]]; then composer require silverstripe/postgresql:2.0.x-dev --no-update; fi
- if [[ $PHPCS_TEST ]]; then composer global require squizlabs/php_codesniffer:^3 --prefer-dist --no-interaction --no-progress --no-suggest -o; fi
- composer install --prefer-dist --no-interaction --no-progress --no-suggest --optimize-autoloader --verbose --profile
script: