This repository was archived by the owner on Jan 29, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -70,14 +70,11 @@ before_install:
70
70
71
71
install :
72
72
- if [[ $DEPS == 'latest' ]]; then travis_retry composer update $COMPOSER_ARGS ; fi
73
- - ' if [[ $DEPS == ' lowest' ]]; then
74
- travis_retry composer update --prefer-lowest --prefer-stable $COMPOSER_ARGS
75
- if [[ $DEPS == 'lowest' ]]; then
76
- --with-dependencies $LEGACY_DEPS
77
- fi;
78
- fi'
79
- - if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry composer require --dev $COMPOSER_ARGS satooshi/php-coveralls:^1.0 --with-dependencies $LEGACY_DEPS ; fi
73
+ - if [[ $DEPS == 'lowest' ] && [ $TRAVIS_PHP_VERSION !~ ^5.6 ]]; then travis_retry composer update --prefer-lowest --prefer-stable $COMPOSER_ARGS ; fi
74
+ - if [[ $DEPS == 'lowest' ] && [ $TRAVIS_PHP_VERSION =~ ^5.6 ]]; then travis_retry composer update --prefer-lowest --prefer-stable $COMPOSER_ARGS --with-dependencies $LEGACY_DEPS ; fi
75
+ - if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry composer require --dev $COMPOSER_ARGS satooshi/php-coveralls:^1.0 ; fi
80
76
- if [[ $DEPS == 'locked' ]]; then travis_retry composer install $COMPOSER_ARGS ; fi
77
+ - if [[ $DEPS == 'locked' ] && [ $TRAVIS_PHP_VERSION =~ ^5.6 ]]; then travis_retry composer install $COMPOSER_ARGS --with-dependencies $LEGACY_DEPS ; fi
81
78
- composer show --installed
82
79
83
80
script :
You can’t perform that action at this time.
0 commit comments