Adjust travis config 2

This commit is contained in:
ErickSkrauch 2019-02-24 14:33:25 +03:00
parent 47248aca24
commit fcf9e59da8
No known key found for this signature in database
GPG Key ID: 669339FCBB30EE0E

View File

@ -18,12 +18,12 @@ env:
- DEFAULT_COMPOSER_FLAGS="--optimize-autoloader --no-progress"
- COMPOSER_NO_INTERACTION=1
matrix:
- PREFER_LOWEST="--prefer-lowest"
- PREFER_LOWEST=""
- PREFER_LOWEST="--prefer-lowest"
before_script:
- composer global show hirak/prestissimo -q || travis_retry composer global require $DEFAULT_COMPOSER_FLAGS hirak/prestissimo
- '[ "${TRAVIS_PHP_VERSION:0:1}" == "5" ] && composer remove --ignore-platform-reqs --no-progress ely/php-code-style || true'
- '[ "${TRAVIS_PHP_VERSION:0:1}" == "5" ] && composer remove --dev --no-progress ely/php-code-style || true'
- travis_retry composer update --prefer-source $PREFER_LOWEST
- travis_retry phpenv rehash