File tree 2 files changed +18
-7
lines changed
2 files changed +18
-7
lines changed Original file line number Diff line number Diff line change 1
1
language : php
2
2
3
3
php :
4
- - 5.3
5
4
- 5.4
6
5
- 5.5
7
6
- 5.6
8
7
- 7.0
9
8
- hhvm
10
9
10
+ sudo : false
11
+
12
+ cache :
13
+ directories :
14
+ - $HOME/.composer/cache/files
15
+
11
16
matrix :
12
- allow_failures :
13
- - php : 7.0
14
- - php : hhvm
17
+ fast_finish : true
15
18
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
17
24
env : ' COMPOSER_FLAGS="--prefer-stable --prefer-lowest"'
18
25
19
26
before_script :
27
+ - if [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then echo "memory_limit = -1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini; fi
20
28
- travis_retry composer self-update
29
+ - if [ "$SYMFONY_VERSION" != "" ]; then composer require --dev --no-update symfony/symfony=$SYMFONY_VERSION; fi
21
30
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction
22
31
23
32
script :
Original file line number Diff line number Diff line change 12
12
}
13
13
],
14
14
"require" : {
15
- "php" : " >=5.3.2 " ,
15
+ "php" : " >=5.4.0 " ,
16
16
"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"
18
19
},
19
20
"require-dev" : {
20
21
"symfony/yaml" : " *" ,
37
38
"psr-0" : { "JMS\\ SerializerBundle" : " " }
38
39
},
39
40
"minimum-stability" : " dev" ,
41
+ "prefer-stable" : true ,
40
42
"target-dir" : " JMS/SerializerBundle" ,
41
43
"extra" : {
42
44
"branch-alias" : {
You can’t perform that action at this time.
0 commit comments