File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -16,15 +16,19 @@ matrix:
16
16
allow_failures :
17
17
- php : nightly
18
18
fast_finish : true
19
+ include :
20
+ - php : 5.6
21
+ env : DEPENDENCIES=dev
19
22
20
23
before_script :
21
24
- composer self-update
22
- - if [[ "$TRAVIS_PHP_VERSION" = "5.6" ]]; then wget http://get.sensiolabs.org/php-cs-fixer.phar; fi;
25
+ - if [ "$TRAVIS_PHP_VERSION" = "5.6" ] && [ "$DEPENDENCIES" != "dev" ]; then wget http://get.sensiolabs.org/php-cs-fixer.phar; fi;
26
+ - if [ "$DEPENDENCIES" = "dev" ]; then perl -pi -e 's/^}$/,"minimum-stability":"dev"}/' composer.json; fi;
23
27
24
28
install :
25
29
- composer install
26
30
27
31
script :
28
32
- vendor/bin/behat
29
33
- vendor/bin/phpunit
30
- - if [[ "$TRAVIS_PHP_VERSION" = "5.6" ]]; then php php-cs-fixer.phar fix --no-interaction --dry-run --diff -vvv; fi;
34
+ - if [ "$TRAVIS_PHP_VERSION" = "5.6" ] && [ "$DEPENDENCIES" != "dev" ]; then php php-cs-fixer.phar fix --no-interaction --dry-run --diff -vvv; fi;
Original file line number Diff line number Diff line change 17
17
"symfony/serializer" : " ^2.7.2|~3.0" ,
18
18
"symfony/validator" : " ~2.5|~3.0" ,
19
19
"symfony/framework-bundle" : " ~2.6|~3.0" ,
20
- "symfony/proxy-manager-bridge" : " ~2.3" ,
20
+ "symfony/proxy-manager-bridge" : " ~2.3|~3.0 " ,
21
21
"ocramius/proxy-manager" : " ~1.0" ,
22
22
"doctrine/inflector" : " ~1.0" ,
23
23
"dunglas/php-property-info" : " ~0.2" ,
You can’t perform that action at this time.
0 commit comments