Skip to content

Commit 63eba02

Browse files
marcortolaBrainMaestro
authored andcommitted
Added compatibility with Symfony 4 (#12)
* Added compatibility with Symfony 4 * Improved travis config using more PHP versions
1 parent cb8f4c7 commit 63eba02

File tree

3 files changed

+159
-234
lines changed

3 files changed

+159
-234
lines changed

.travis.yml

+17-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
language: php
2-
php:
3-
- '7.0'
4-
- '7.1'
5-
before_script: composer install
2+
3+
matrix:
4+
include:
5+
- php: 5.6
6+
- php: 7.0
7+
- php: 7.1
8+
fast_finish: true
9+
10+
before_install:
11+
- composer self-update
12+
13+
install:
14+
- composer update --no-interaction
15+
16+
script:
17+
- composer validate --strict --no-check-lock
18+
- phpunit

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
],
1818
"require": {
19-
"symfony/console": "^3.2"
19+
"symfony/console": "^3.2 || ^4.0"
2020
},
2121
"autoload": {
2222
"psr-4": {

0 commit comments

Comments
 (0)