Skip to content

Commit

Permalink
Test lowest versions of vendor packages
Browse files Browse the repository at this point in the history
  • Loading branch information
wouterj committed Dec 20, 2014
1 parent 25e62cd commit 765f211
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
13 changes: 12 additions & 1 deletion .travis.yml
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 install --prefer-source --dev
- composer selfupdate
- if [[ "$PACKAGE_VERSION" == "high" ]]; then composer update --prefer-source; fi
- if [[ "$PACKAGE_VERSION" == "low" ]]; then composer update --prefer-lowest --prefer-source; fi

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

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -27,7 +27,7 @@
}
],
"require": {
"php": ">=5.3.0",
"php": ">=5.3.3",
"phpcr/phpcr": "~2.1.0",
"symfony/console": "~2.0"
},
Expand Down

0 comments on commit 765f211

Please sign in to comment.