Skip to content

Commit

Permalink
run tests on stable and lowest dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Paweł Mikołajczuk authored and ahilles107 committed Jan 20, 2016
1 parent 7555ea6 commit 778b776
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,13 @@ matrix:
fast_finish: true
allow_failures:
- php: hhvm
env:
- PREFER_LOWEST="--prefer-lowest"
- PREFER_LOWEST=""

before_script:
- composer self-update
- composer install --prefer-dist --no-interaction
- composer update --prefer-dist --no-interaction $PREFER_LOWEST

script:
- ./bin/phpunit --coverage-text
9 changes: 5 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,14 @@
"doctrine/annotations": "~1.0",
"jms/metadata": "~1.1",
"jms/serializer": "~1.0",
"symfony/expression-language": "~2.4 || ~3.0"
"symfony/expression-language": "~2.4 || ~3.0",
"phpoption/phpoption": ">=1.1.0,<2.0-dev"
},
"require-dev": {
"phpunit/phpunit": "~4.5",
"symfony/yaml": "~2.0 || ~3.0",
"symfony/routing": "~2.0 || ~3.0",
"symfony/dependency-injection": "~2.0 || ~3.0",
"symfony/yaml": "~2.4 || ~3.0",
"symfony/routing": "~2.4 || ~3.0",
"symfony/dependency-injection": "~2.4 || ~3.0",
"pagerfanta/pagerfanta": "~1.0",
"twig/twig": "~1.12"
},
Expand Down

0 comments on commit 778b776

Please sign in to comment.