Adjust travis config

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

View File

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