Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 3fc8990

Browse files
committedMay 29, 2015
Test lower boundaries of version constraints
1 parent fbe0ee6 commit 3fc8990

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed
 

‎.travis.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,23 +20,26 @@ matrix:
2020
include:
2121
- php: 5.6
2222
env: SYMFONY_VERSION=2.3.*
23-
- php: 5.6
24-
env: SYMFONY_VERSION=2.5.*
2523
- php: 5.6
2624
env: SYMFONY_VERSION=2.7.*
2725
- php: 5.6
2826
env: SYMFONY_VERSION=3.0.*
27+
- php: 5.3.3
28+
env: SYMFONY_VERSION=2.3.* COMPOSER_FLAGS="--prefer-lowest"
2929
allow_failures:
3030
- php: 5.6
3131
env: SYMFONY_VERSION=2.7.*
3232
- php: 5.6
3333
env: SYMFONY_VERSION=3.0.*
3434

35-
before_script:
35+
before_install:
3636
- composer self-update
3737
- if [ "${TRAVIS_PHP_VERSION}" != "hhvm" ]; then echo "memory_limit = -1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini; fi
38-
- composer require symfony/symfony:${SYMFONY_VERSION} --prefer-dist
39-
- vendor/symfony-cmf/testing/bin/travis/phpcr_odm_doctrine_dbal.sh
38+
- composer require symfony/symfony:${SYMFONY_VERSION} --no-update
39+
40+
install: composer update $COMPOSER_FLAGS --prefer-dist
41+
42+
before_script: vendor/symfony-cmf/testing/bin/travis/phpcr_odm_doctrine_dbal.sh
4043

4144
script: phpunit --coverage-text
4245

‎composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"doctrine/phpcr-odm": "~1.1"
2424
},
2525
"require-dev": {
26-
"symfony-cmf/testing": "~1.2",
26+
"symfony-cmf/testing": "dev-lowest_versions",
2727
"matthiasnoback/symfony-dependency-injection-test": "0.*",
2828
"matthiasnoback/symfony-config-test": "0.*",
2929
"sonata-project/doctrine-phpcr-admin-bundle": "~1.1",

0 commit comments

Comments
 (0)
Please sign in to comment.