Skip to content

Commit e9777dd

Browse files
authored
Merge pull request #291 from willdurand/jms-3.0
Allow jms/serializer 3.0
2 parents 9eba928 + e36d2e2 commit e9777dd

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

.travis.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
language: php
2-
sudo: required
3-
dist: trusty
4-
group: edge
2+
sudo: false
53

64
cache:
75
directories:
86
- $HOME/.composer/cache
97

108
php:
11-
- 7.2
9+
- '7.2'
10+
- '7.3'
1211

1312
env:
14-
- SYMFONY_VERSION=3.0.*
15-
- SYMFONY_VERSION=3.2.*
16-
- SYMFONY_VERSION=3.4.*
17-
- SYMFONY_VERSION=4.0.*
18-
- SYMFONY_VERSION=4.1.*
13+
- SYMFONY_VERSION=^3.4 JMS_VERSION=^2.1
14+
- SYMFONY_VERSION=^4.0 JMS_VERSION=^2.1
15+
16+
- SYMFONY_VERSION=^3.4 JMS_VERSION=^3.0
17+
- SYMFONY_VERSION=^4.0 JMS_VERSION=^3.0
18+
1919

2020
before_install:
21-
- composer self-update
21+
- composer require --no-update jms/serializer "$JMS_VERSION"
2222
- composer require --no-update symfony/expression-language "$SYMFONY_VERSION"
2323
- composer require --no-update --dev symfony/yaml "$SYMFONY_VERSION"
2424
- composer require --no-update --dev symfony/routing "$SYMFONY_VERSION"

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"require": {
2020
"php": "^7.2",
2121
"doctrine/annotations": "~1.0",
22-
"jms/serializer": "^2.1",
22+
"jms/serializer": "^2.1|^3.0",
2323
"jms/metadata": "^2.0",
2424
"symfony/expression-language": "~3.0 || ~4.0"
2525
},

0 commit comments

Comments
 (0)