Skip to content

Commit f752d42

Browse files
Merge pull request #42 from xabbuh/issue-41
allow latest stable SymfonyConfigTest versions
2 parents a584a78 + fb7e9f2 commit f752d42

File tree

2 files changed

+19
-11
lines changed

2 files changed

+19
-11
lines changed

.travis.yml

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,28 @@ php:
88
- hhvm
99

1010
matrix:
11+
include:
12+
- php: 5.3
13+
env: deps="low"
1114
allow_failures:
1215
- php: hhvm
1316

1417
env:
15-
- SYMFONY_VERSION=2.4.* PHPUNIT_VERSION=~3.7
16-
- SYMFONY_VERSION=2.0.* PHPUNIT_VERSION=~4.0
17-
- SYMFONY_VERSION=2.1.* PHPUNIT_VERSION=~4.0
18-
- SYMFONY_VERSION=2.2.* PHPUNIT_VERSION=~4.0
19-
- SYMFONY_VERSION=2.3.* PHPUNIT_VERSION=~4.0
20-
- SYMFONY_VERSION=2.4.* PHPUNIT_VERSION=~4.0
18+
global:
19+
- deps=""
20+
matrix:
21+
- SYMFONY_VERSION=2.4.* PHPUNIT_VERSION=~3.7
22+
- SYMFONY_VERSION=2.0.* PHPUNIT_VERSION=~4.0
23+
- SYMFONY_VERSION=2.1.* PHPUNIT_VERSION=~4.0
24+
- SYMFONY_VERSION=2.2.* PHPUNIT_VERSION=~4.0
25+
- SYMFONY_VERSION=2.3.* PHPUNIT_VERSION=~4.0
26+
- SYMFONY_VERSION=2.4.* PHPUNIT_VERSION=~4.0
2127

2228
before_script:
23-
- composer require --no-update "symfony/dependency-injection:${SYMFONY_VERSION}"
24-
- composer require --no-update "phpunit/phpunit:${PHPUNIT_VERSION}"
25-
- composer update
29+
- if [ "$SYMFONY_VERSION" != "" ]; then composer require --no-update "symfony/dependency-injection:${SYMFONY_VERSION}"; fi
30+
- if [ "$PHPUNIT_VERSION" != "" ]; then composer require --no-update "phpunit/phpunit:${PHPUNIT_VERSION}"; fi
31+
- if [ "$deps" = "low" ]; then composer update --prefer-lowest; fi
32+
- if [ "$deps" = "" ]; then composer update; fi
2633

2734
notifications:
2835

composer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
}
1414
],
1515
"require": {
16-
"matthiasnoback/symfony-config-test": "0.*",
17-
"symfony/dependency-injection": "2.*",
16+
"matthiasnoback/symfony-config-test": "0.*|~1.0",
17+
"symfony/dependency-injection": "^2.0.5",
18+
"symfony/config": "^2.0.5",
1819
"phpunit/phpunit": ">=3",
1920
"sebastian/exporter": "~1"
2021
},

0 commit comments

Comments
 (0)