Skip to content

Commit ee435a3

Browse files
committed
Merge pull request #89 from symfony-cmf/composer-patch
Test with the lowest dependencies
2 parents cfc0762 + 5eed8a7 commit ee435a3

File tree

1 file changed

+20
-8
lines changed

1 file changed

+20
-8
lines changed

.travis.yml

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,35 @@ php:
44
- 5.3
55
- 5.4
66
- 5.5
7+
- 5.6
78
- hhvm
89

910
env:
10-
- SYMFONY_VERSION=2.5.*
11+
- SYMFONY_VERSION=2.6.* PACKAGE_VERSION=high
1112

1213
matrix:
1314
include:
14-
- php: 5.5
15-
env: SYMFONY_VERSION=2.3.*
16-
- php: 5.5
17-
env: SYMFONY_VERSION=2.4.*
18-
- php: 5.5
19-
env: SYMFONY_VERSION=2.6.*
15+
- php: 5.3.3
16+
env: SYMFONY_VERSION=2.3.* PACKAGE_VERSION=low
17+
- php: 5.6
18+
env: SYMFONY_VERSION=2.3.* PACKAGE_VERSION=high
19+
- php: 5.6
20+
env: SYMFONY_VERSION=2.5.* PACKAGE_VERSION=high
21+
- php: 5.6
22+
env: SYMFONY_VERSION=2.7.* PACKAGE_VERSION=high
23+
- php: 5.6
24+
env: SYMFONY_VERSION=3.0.*@dev PACKAGE_VERSION=high
25+
allow_failures:
26+
- php: 5.6
27+
env: SYMFONY_VERSION=2.7.* PACKAGE_VERSION=high
28+
- php: 5.6
29+
env: SYMFONY_VERSION=3.0.*@dev PACKAGE_VERSION=high
2030

2131
before_script:
2232
- composer self-update
23-
- composer require symfony/symfony:${SYMFONY_VERSION} --prefer-source
33+
- composer require symfony/symfony:${SYMFONY_VERSION} --no-update
34+
- if [[ "$PACKAGE_VERSION" == "high" ]]; then composer update --prefer-source; fi
35+
- if [[ "$PACKAGE_VERSION" == "low" ]]; then composer update --prefer-lowest --prefer-source; fi
2436

2537
script: phpunit --coverage-text
2638

0 commit comments

Comments
 (0)