Skip to content

Commit

Permalink
Allow Symfony 4.3 and test with low deps
Browse files Browse the repository at this point in the history
  • Loading branch information
jakzal committed Dec 11, 2019
1 parent 9b521fe commit d45094f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
12 changes: 7 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
language: php

php:
- 7.2
- 7.3
- 7.4
matrix:
include:
- php: 7.2
env: deps=low
- php: 7.3
- php: 7.4

install:
- composer install
- if [[ $deps = low ]]; then composer update --prefer-lowest --prefer-stable; else composer install; fi

script:
- ./vendor/bin/phpunit --coverage-text
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
],
"require": {
"php": "^7.2",
"symfony/dependency-injection": "^5.0",
"symfony/dependency-injection": "^4.3 || ^5.0",
"mockery/mockery": "^1.3"
},
"require-dev": {
Expand Down

0 comments on commit d45094f

Please sign in to comment.