mirror of
https://github.com/elyby/league-oauth2-ely.git
synced 2024-11-23 05:33:09 +05:30
Adjust travis config
This commit is contained in:
parent
ab4b96a7dc
commit
47248aca24
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user