File tree Expand file tree Collapse file tree 1 file changed +23
-6
lines changed
Expand file tree Collapse file tree 1 file changed +23
-6
lines changed Original file line number Diff line number Diff line change 11language : php
22
3- php :
4- - 7.0
5- - 7.1
6- - 7.2
3+
4+ env :
5+ global :
6+ - COMPOSER_FLAGS="--no-interaction"
77
88matrix :
99 include :
10+ - php : 7.0
11+ env :
12+ # Test commited lock file
13+ - COMPOSER_LOCK=true
14+ # Test lowest dependencies
1015 - php : 7.1
11- env : STATIC_ANALYSIS=true
16+ env :
17+ - COMPOSER_FLAGS="--no-interaction --prefer-lowest"
18+ # Test with updated dependencies
19+ - php : 7.2
20+ - php : 7.3
21+ env :
22+ - STATIC_ANALYSIS=true
1223
1324cache :
1425 directories :
1526 - $HOME/.composer/cache
1627
1728install :
18- - composer install --no-interaction
29+ - |
30+ if [[ $COMPOSER_LOCK = true ]]; then
31+ composer install $COMPOSER_FLAGS
32+ else
33+ composer update $COMPOSER_FLAGS
34+ fi
35+ - composer $COMPOSER
1936 # coding style
2037 - if [[ $STATIC_ANALYSIS != "" ]]; then composer create-project symplify/easy-coding-standard temp/ecs; fi
2138
You can’t perform that action at this time.
0 commit comments