@@ -3,33 +3,48 @@ sudo: false
33cache :
44 directories :
55 - " $HOME/.composer/cache"
6- env :
7- global :
8- - COMPOSER_ARGS="--no-interaction --prefer-source --no-suggest"
96matrix :
107 include :
8+ - php : 7.2
9+ env :
10+ - COLLECT_COVERAGE=false
11+ - COMPOSER_ARGS="--no-interaction --no-suggest --prefer-source --prefer-lowest --prefer-stable"
12+ - RUN_PHPSTAN=false
13+ - VALIDATE_CODING_STYLE=false
1114 - php : 7.2
1215 env :
1316 - COLLECT_COVERAGE=true
14- - IGNORE_PLATFORMS=false
17+ - COMPOSER_ARGS="--no-interaction --no-suggest --prefer-source"
1518 - RUN_PHPSTAN=true
1619 - VALIDATE_CODING_STYLE=true
20+ - php : 7.3
21+ env :
22+ - COLLECT_COVERAGE=false
23+ - COMPOSER_ARGS="--no-interaction --no-suggest --prefer-source --prefer-lowest --prefer-stable"
24+ - RUN_PHPSTAN=false
25+ - VALIDATE_CODING_STYLE=false
1726 - php : 7.3
1827 env :
1928 - COLLECT_COVERAGE=true
20- - IGNORE_PLATFORMS=false
29+ - COMPOSER_ARGS="--no-interaction --no-suggest --prefer-source"
2130 - RUN_PHPSTAN=true
31+ - VALIDATE_CODING_STYLE=true
32+ - php : 7.4
33+ env :
34+ - COLLECT_COVERAGE=false
35+ - COMPOSER_ARGS="--no-interaction --no-suggest --prefer-source --prefer-lowest --prefer-stable"
36+ - RUN_PHPSTAN=false
2237 - VALIDATE_CODING_STYLE=false
2338 - php : 7.4
2439 env :
2540 - COLLECT_COVERAGE=true
26- - IGNORE_PLATFORMS=false
41+ - COMPOSER_ARGS="--no-interaction --no-suggest --prefer-source"
2742 - RUN_PHPSTAN=true
28- - VALIDATE_CODING_STYLE=false
43+ - VALIDATE_CODING_STYLE=true
2944 - php : nightly
3045 env :
3146 - COLLECT_COVERAGE=false
32- - IGNORE_PLATFORMS=true
47+ - COMPOSER_ARGS="--no-interaction --no-suggest --prefer-source --ignore-platform-reqs"
3348 - RUN_PHPSTAN=false
3449 - VALIDATE_CODING_STYLE=false
3550 allow_failures :
@@ -38,8 +53,7 @@ matrix:
3853before_install :
3954 - travis_retry composer self-update
4055install :
41- - if [ "$IGNORE_PLATFORMS" == "true" ]; then travis_retry composer update $COMPOSER_ARGS --ignore-platform-reqs; fi
42- - if [ "$IGNORE_PLATFORMS" == "false" ]; then travis_retry composer update $COMPOSER_ARGS; fi
56+ - travis_retry composer update $COMPOSER_ARGS
4357script :
4458 - if [ "$VALIDATE_CODING_STYLE" == "true" ]; then composer phpcs; fi
4559 - if [ "$RUN_PHPSTAN" == "true" ]; then composer phpstan; fi
0 commit comments