Skip to content

Commit a6b9c11

Browse files
author
Cliff Odijk
committed
Test support lowest posible version of a package
1 parent f01a6f6 commit a6b9c11

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ language: php
55
matrix:
66
include:
77
- php: 7.1
8+
- php: 7.2
9+
env: COMPOSER_FLAGS="--prefer-lowest"
810
- php: 7.2
911
env: SYMFONY_VERSION=2.7.*
1012
- php: 7.2
@@ -23,13 +25,14 @@ env:
2325
- SYMFONY_VERSION=""
2426
- REQUIRE_PROXY_BRIDGE="yes"
2527
- EXTRA_PHPUNIT_PARAMS="--exclude-group depTest"
28+
- COMPOSER_FLAGS="--prefer-dist"
2629

2730
before_install:
2831
- composer self-update
2932
- if [ "$SYMFONY_VERSION" != "" ]; then composer require --no-update symfony/http-kernel:$SYMFONY_VERSION symfony/dependency-injection:$SYMFONY_VERSION symfony/yaml:$SYMFONY_VERSION symfony/config:$SYMFONY_VERSION symfony/monolog-bridge:$SYMFONY_VERSION symfony/framework-bundle:$SYMFONY_VERSION; fi
3033

3134
install:
32-
- composer install --prefer-dist
35+
- composer update $COMPOSER_FLAGS
3336
- if [ "$REQUIRE_PROXY_BRIDGE" == "yes" ] && [ "$SYMFONY_VERSION" != "" ]; then composer require symfony/proxy-manager-bridge:$SYMFONY_VERSION; fi
3437
- if [ "$REQUIRE_PROXY_BRIDGE" == "yes" ] && [ "$SYMFONY_VERSION" == "" ]; then composer require symfony/proxy-manager-bridge; fi
3538

0 commit comments

Comments
 (0)