Skip to content

Commit

Permalink
Merge pull request #105 from jackalope/test_lowest
Browse files Browse the repository at this point in the history
Test against lowest dependencies
  • Loading branch information
dbu committed Feb 17, 2015
2 parents b7493fa + 9974eeb commit 1e56cdf
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
13 changes: 12 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,21 @@ php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm

env:
- PACKAGE_VERSION=high

matrix:
include:
- php: 5.3.3
env: PACKAGE_VERSION=low

before_script:
- composer update
- composer selfupdate
- if [[ "$PACKAGE_VERSION" == "high" ]]; then composer update; fi
- if [[ "$PACKAGE_VERSION" == "low" ]]; then composer update --prefer-lowest; fi
- ./bin/jackrabbit.sh

script: phpunit
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@
"ext-xml":"*",
"ext-curl":"*",
"phpcr/phpcr": "~2.1.2",
"phpcr/phpcr-utils": "~1.1",
"phpcr/phpcr-utils": "1.*,>=1.1.2",
"jackalope/jackalope": "~1.2.0"
},
"provide": {
"jackalope/jackalope-transport": "1.1.0"
},
"require-dev": {
"psr/log": "~1.0",
"phpcr/phpcr-api-tests": "~2.1.0",
"phpcr/phpcr-api-tests": "2.1.3",
"symfony/console": "~2.0"
},
"autoload": {
Expand Down

0 comments on commit 1e56cdf

Please sign in to comment.