Skip to content

Commit 765f211

Browse files
committed
Test lowest versions of vendor packages
1 parent 25e62cd commit 765f211

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

.travis.yml

Lines changed: 12 additions & 1 deletion
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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
}
2828
],
2929
"require": {
30-
"php": ">=5.3.0",
30+
"php": ">=5.3.3",
3131
"phpcr/phpcr": "~2.1.0",
3232
"symfony/console": "~2.0"
3333
},

0 commit comments

Comments
 (0)