Skip to content

Commit 06ae1ab

Browse files
committed
Update composer, travis for Symfony4
1 parent 1010de2 commit 06ae1ab

File tree

2 files changed

+14
-5
lines changed

2 files changed

+14
-5
lines changed

.travis.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,24 @@ cache:
1818
env:
1919
global:
2020
- setup=basic
21+
- symfony="*"
2122

2223
matrix:
2324
include:
2425
- php: 5.6
2526
env: setup=lowest
26-
- php: 7.0
27-
env: setup=lowest
27+
- setup=lowest
28+
- symfony="^2.1"
29+
- php: 5.6
30+
- setup=lowest
31+
- symfony="^3"
32+
- php: 7.2
33+
env:
34+
- setup=lowest
35+
- symfony="^4"
2836

2937
install:
38+
- if [[ $symfony != '*' ]]; then travis_retry composer require symfony/http-foundation:${symfony} --no-update --no-interaction; fi
3039
- if [[ $setup = 'basic' ]]; then travis_retry composer install --prefer-dist --no-interaction; fi
3140
- if [[ $setup = 'lowest' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-lowest --prefer-stable; fi
3241

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@
3131
"php-http/client-implementation": "^1",
3232
"php-http/message": "^1.5",
3333
"php-http/discovery": "^1.2.1",
34-
"symfony/http-foundation": "^2.1|^3.0|~4.0",
34+
"symfony/http-foundation": "^2.1|^3|^4",
3535
"moneyphp/money": "^3.0.5"
3636
},
3737
"require-dev": {
3838
"omnipay/tests": "^3",
3939
"php-http/mock-client": "^1",
40-
"squizlabs/php_codesniffer": "^2.8.1",
41-
"phpro/grumphp": "^0.11.6"
40+
"squizlabs/php_codesniffer": "^3",
41+
"phpro/grumphp": "^0.12"
4242
},
4343
"extra": {
4444
"branch-alias": {

0 commit comments

Comments
 (0)