Skip to content

Commit 4775c6a

Browse files
committed
Make sure we can install dev-versions if needed
1 parent 9cae559 commit 4775c6a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ matrix:
2424

2525
# Test with lowest dependencies
2626
- php: 7.2
27-
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest" SYMFONY_DEPRECATIONS_HELPER="weak"
27+
env: COMPOSER_FLAGS="--prefer-lowest" SYMFONY_DEPRECATIONS_HELPER="weak"
2828

2929
# Test the latest stable release
3030
- php: 7.3
@@ -51,7 +51,7 @@ before_install:
5151
- if ! [ -z "$SYMFONY_VERSION" ]; then composer config extra.symfony.require "${SYMFONY_VERSION}"; fi;
5252

5353
install:
54-
- composer update ${COMPOSER_FLAGS} --prefer-dist --no-interaction
54+
- composer update ${COMPOSER_FLAGS} --prefer-dist --prefer-stable --no-interaction
5555

5656
script:
5757
- composer validate --strict --no-check-lock

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
"test": "vendor/bin/phpunit",
5757
"test-ci": "vendor/bin/phpunit --coverage-text --coverage-clover=build/coverage.xml Tests/Unit"
5858
},
59+
"minimum-stability": "dev",
5960
"extra": {
6061
"branch-alias": {
6162
"dev-master": "0.10-dev"

0 commit comments

Comments
 (0)