File tree Expand file tree Collapse file tree 1 file changed +15
-13
lines changed Expand file tree Collapse file tree 1 file changed +15
-13
lines changed Original file line number Diff line number Diff line change @@ -21,38 +21,40 @@ matrix:
21
21
fast_finish : true
22
22
include :
23
23
# Minimum supported Symfony version and latest PHP version
24
- - php : 7.1
25
- env : DEPENDENCIES="minimum" COVERAGE=true TEST_COMMAND="composer test-ci " SYMFONY_DEPRECATIONS_HELPER="weak" SYMFONY_PHPUNIT_VERSION="5.7 "
24
+ - php : 7.2
25
+ env : COMPOSER_FLAGS="--prefer-stable --prefer-lowest " SYMFONY_DEPRECATIONS_HELPER="weak"
26
26
27
27
# Test the latest stable release
28
+ - php : 5.5
29
+ env : SYMFONY_PHPUNIT_VERSION="5.7"
28
30
- php : 5.6
29
31
env : SYMFONY_PHPUNIT_VERSION="5.7"
30
32
- php : 7.0
31
33
- php : 7.1
32
34
- php : 7.2
35
+ env : COVERAGE=true TEST_COMMAND="composer test-ci"
33
36
34
37
# Test LTS versions
35
- - php : 5.5
38
+ - php : 7.2
36
39
env : DEPENDENCIES="dunglas/symfony-lock:^2"
37
- - php : 5.5
40
+ - php : 7.2
38
41
env : DEPENDENCIES="dunglas/symfony-lock:^3"
39
- - php : 7.1
40
- env : DEPENDENCIES="dunglas/symfony-lock:^4"
42
+ - php : 7.2
43
+ env : DEPENDENCIES="dunglas/symfony-lock:^4" STABILITY="rc"
41
44
42
45
# Latest commit to master
43
- - php : 7.1
44
- env : DEPENDENCIES ="dev"
46
+ - php : 7.2
47
+ env : STABILITY ="dev"
45
48
46
49
allow_failures :
47
50
# dev-master is allowed to fail.
48
- - php : 7.1
49
- env : DEPENDENCIES ="dev"
51
+ - php : 7.2
52
+ env : STABILITY ="dev"
50
53
51
54
before_install :
52
55
- if [[ $COVERAGE != true ]]; then phpenv config-rm xdebug.ini || true; fi
53
- - if [ "$DEPENDENCIES" = "minimum" ]; then COMPOSER_FLAGS="--prefer-stable --prefer-lowest"; fi;
54
- - if [ "$DEPENDENCIES" = "dev" ]; then composer config minimum-stability dev; fi;
55
- - if [[ $DEPENDENCIES == *"/"* ]]; then composer require --no-update $DEPENDENCIES; fi;
56
+ - if ! [ -z "$STABILITY" ]; then composer config minimum-stability ${STABILITY}; fi;
57
+ - if ! [ -v "$DEPENDENCIES" ]; then composer require --no-update ${DEPENDENCIES}; fi;
56
58
57
59
install :
58
60
# To be removed when this issue will be resolved: https://github.com/composer/composer/issues/5355
You can’t perform that action at this time.
0 commit comments