Skip to content

Commit 305ab0a

Browse files
committed
Merge pull request #141 from WouterJ/test_lowest
[WIP] Test lowest versions of vendor packages
2 parents 25e62cd + 42f969a commit 305ab0a

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

.travis.yml

+12-1
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,21 @@ php:
44
- 5.3
55
- 5.4
66
- 5.5
7+
- 5.6
78
- hhvm
89

10+
env:
11+
- PACKAGE_VERSION=high
12+
13+
matrix:
14+
include:
15+
- php: 5.3.3
16+
env: PACKAGE_VERSION=low
17+
918
before_script:
10-
- composer install --prefer-source --dev
19+
- composer selfupdate
20+
- if [[ "$PACKAGE_VERSION" == "high" ]]; then composer update --prefer-source; fi
21+
- if [[ "$PACKAGE_VERSION" == "low" ]]; then composer update --prefer-lowest --prefer-source; fi
1122

1223
script: phpunit -c tests/phpunit.xml.dist
1324

composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727
}
2828
],
2929
"require": {
30-
"php": ">=5.3.0",
30+
"php": ">=5.3.3",
3131
"phpcr/phpcr": "~2.1.0",
32-
"symfony/console": "~2.0"
32+
"symfony/console": "2.*,>=2.0.5"
3333
},
3434
"autoload": {
3535
"psr-0": {

0 commit comments

Comments
 (0)