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

Commit a75c36d

Browse files
wouterjlsmith77
authored andcommitted
Test lowest versions
1 parent 0552ecd commit a75c36d

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

.travis.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,18 @@ matrix:
2424
env: SYMFONY_VERSION=2.4.*
2525
- php: 5.5
2626
env: SYMFONY_VERSION=2.6.*
27+
- php: 5.3.3
28+
env: SYMFONY_VERSION=2.3.* COMPOSER_FLAGS="--prefer-lowest"
2729

28-
before_script:
30+
before_install:
2931
- composer selfupdate
30-
- composer require symfony/symfony:${SYMFONY_VERSION} --prefer-dist
31-
- vendor/symfony-cmf/testing/bin/travis/phpcr_odm_doctrine_dbal.sh
32+
- composer require symfony/symfony:${SYMFONY_VERSION} --no-update
33+
34+
install: composer update $COMPOSER_FLAGS --prefer-dist
3235

33-
script:
34-
- phpunit
36+
before_script: vendor/symfony-cmf/testing/bin/travis/phpcr_odm_doctrine_dbal.sh
37+
38+
script: phpunit
3539

3640
notifications:
3741
irc: "irc.freenode.org#symfony-cmf"

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
"jms/metadata": "1.5.*"
2121
},
2222
"require-dev": {
23-
"symfony-cmf/testing": "~1.1",
23+
"symfony-cmf/testing": "dev-lowest_versions",
2424
"symfony/yaml": "~2.1",
25-
"matthiasnoback/symfony-dependency-injection-test": "0.*",
25+
"matthiasnoback/symfony-dependency-injection-test": "~0.6",
2626
"matthiasnoback/symfony-config-test": "0.*",
2727
"doctrine/phpcr-odm": "~1.2",
2828
"phpunit/phpunit": "~4.5"

0 commit comments

Comments
 (0)