Update travis install settings

This commit is contained in:
Daniel Hensby 2017-10-11 18:02:11 +01:00
parent fb0bddec2c
commit ab610bb55e
No known key found for this signature in database
GPG Key ID: 5DE415D786BBB2FD
1 changed files with 4 additions and 4 deletions

View File

@ -17,10 +17,10 @@ before_script:
- phpenv rehash
- phpenv config-rm xdebug.ini
- composer install --prefer-dist
- composer require --prefer-dist --no-update silverstripe/recipe-core:1.0.x-dev
- if [[ $DB == PGSQL ]]; then composer require --no-update --prefer-dist silverstripe/postgresql:2.0.x-dev; fi
- composer update
- composer validate
- composer require --no-update silverstripe/recipe-core:1.0.x-dev
- if [[ $DB == PGSQL ]]; then composer require --no-update silverstripe/postgresql:2.0.x-dev; fi
- composer install --prefer-dist --no-interaction --no-progress --no-suggest --optimize-autoloader --verbose --profile
script:
- if [[ $PHPUNIT_TEST ]]; then vendor/bin/phpunit; fi