Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit 7087e2e

Browse files
committed
Test lowest dependencies
1 parent 25a32eb commit 7087e2e

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.travis.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ matrix:
2727
env: SYMFONY_VERSION=2.8.*
2828
- php: 5.6
2929
env: SYMFONY_VERSION=3.0.*@dev
30+
- php: 5.3.3
31+
env: SYMFONY_VERSION=2.3.* COMPOSER_FLAGS="--prefer-lowest"
3032
allow_failures:
3133
- php: 5.6
3234
env: SYMFONY_VERSION=2.8.*
@@ -37,8 +39,9 @@ matrix:
3739
before_install:
3840
- if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then echo "memory_limit = -1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini; fi
3941
- composer self-update
40-
41-
install: composer require symfony/symfony:${SYMFONY_VERSION} --prefer-dist
42+
- composer require symfony/symfony:${SYMFONY_VERSION} --no-update
43+
44+
install: composer update $COMPOSER_FLAGS --prefer-dist
4245

4346
script: phpunit --coverage-text
4447

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
},
2424
"require-dev": {
2525
"symfony-cmf/routing-bundle": "~1.2",
26-
"symfony-cmf/testing": "~1.1",
26+
"symfony-cmf/testing": "dev-lowest_versions",
2727
"sonata-project/doctrine-phpcr-admin-bundle": "~1.1",
2828
"symfony/monolog-bundle": "~2.3"
2929
},

0 commit comments

Comments
 (0)