Skip to content

Commit 7d9c46e

Browse files
authored
Merge pull request #14 from PolishSymfonyCommunity/php-update
Allow Symfony 4.3 and test with low deps
2 parents b9ef1ff + d45094f commit 7d9c46e

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.travis.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
language: php
22

3-
php:
4-
- 7.2
5-
- 7.3
6-
- 7.4
3+
matrix:
4+
include:
5+
- php: 7.2
6+
env: deps=low
7+
- php: 7.3
8+
- php: 7.4
79

810
install:
9-
- composer install
11+
- if [[ $deps = low ]]; then composer update --prefer-lowest --prefer-stable; else composer install; fi
1012

1113
script:
1214
- ./vendor/bin/phpunit --coverage-text

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
],
1818
"require": {
1919
"php": "^7.2",
20-
"symfony/dependency-injection": "^5.0",
20+
"symfony/dependency-injection": "^4.3 || ^5.0",
2121
"mockery/mockery": "^1.3"
2222
},
2323
"require-dev": {

0 commit comments

Comments
 (0)