Skip to content

Commit 21358fb

Browse files
authored
Always --prefer-stable on Travis
1 parent c23fa89 commit 21358fb

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.travis.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,12 @@ php:
1010
- 7.1
1111
- hhvm
1212

13-
env:
14-
- COMPOSER_OPTIONS="--prefer-stable"
15-
1613
matrix:
1714
include:
15+
- php: 5.3
16+
env: COMPOSER_OPTIONS="--prefer-lowest"
1817
- php: 7.0
19-
env: COMPOSER_OPTIONS="--prefer-lowest --prefer-stable"
18+
env: COMPOSER_OPTIONS="--prefer-lowest"
2019
- php: 7.1
2120
env: TEST_COVERAGE=true
2221
allow_failures:
@@ -31,7 +30,7 @@ before_install:
3130
- composer self-update
3231
- if [[ $TEST_COVERAGE ]]; then PHPUNIT_FLAGS="--coverage-clover clover.xml"; fi
3332

34-
install: travis_retry composer update --no-interaction --prefer-dist $COMPOSER_OPTIONS
33+
install: travis_retry composer update --no-interaction --prefer-dist --prefer-stable $COMPOSER_OPTIONS
3534

3635
script:
3736
- vendor/bin/phpunit -v $PHPUNIT_FLAGS

0 commit comments

Comments
 (0)