Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 1f00cea

Browse files
committedNov 6, 2015
enabled Symfony 3.0 support
1 parent a63cd33 commit 1f00cea

File tree

2 files changed

+18
-7
lines changed

2 files changed

+18
-7
lines changed
 

Diff for: ‎.travis.yml

+14-5
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,32 @@
11
language: php
22

33
php:
4-
- 5.3
54
- 5.4
65
- 5.5
76
- 5.6
87
- 7.0
98
- hhvm
109

10+
sudo: false
11+
12+
cache:
13+
directories:
14+
- $HOME/.composer/cache/files
15+
1116
matrix:
12-
allow_failures:
13-
- php: 7.0
14-
- php: hhvm
17+
fast_finish: true
1518
include:
16-
- php: 5.3
19+
- php: 5.6
20+
env: SYMFONY_VERSION='2.8.*@dev'
21+
- php: 5.6
22+
env: SYMFONY_VERSION='3.0.*@dev'
23+
- php: 5.4
1724
env: 'COMPOSER_FLAGS="--prefer-stable --prefer-lowest"'
1825

1926
before_script:
27+
- if [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then echo "memory_limit = -1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini; fi
2028
- travis_retry composer self-update
29+
- if [ "$SYMFONY_VERSION" != "" ]; then composer require --dev --no-update symfony/symfony=$SYMFONY_VERSION; fi
2130
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction
2231

2332
script:

Diff for: ‎composer.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@
1212
}
1313
],
1414
"require": {
15-
"php": ">=5.3.2",
15+
"php": ">=5.4.0",
1616
"jms/serializer": "^1.0.0",
17-
"symfony/framework-bundle": "~2.1"
17+
"phpoption/phpoption": "^1.0.0",
18+
"symfony/framework-bundle": "~2.3|~3.0"
1819
},
1920
"require-dev": {
2021
"symfony/yaml": "*",
@@ -37,6 +38,7 @@
3738
"psr-0": { "JMS\\SerializerBundle": "" }
3839
},
3940
"minimum-stability": "dev",
41+
"prefer-stable": true,
4042
"target-dir": "JMS/SerializerBundle",
4143
"extra": {
4244
"branch-alias": {

0 commit comments

Comments
 (0)
Please sign in to comment.