File tree Expand file tree Collapse file tree 1 file changed +27
-8
lines changed
Expand file tree Collapse file tree 1 file changed +27
-8
lines changed Original file line number Diff line number Diff line change @@ -5,39 +5,58 @@ sudo: false
55cache :
66 directories :
77 - $HOME/.composer/cache
8- - $HOME/.humbug
98
109# # PHP versions we test against
1110php :
1211 - 7.0
1312 - 7.1
1413 - nightly
1514
15+ # # Environment variables
16+ env :
17+ - coverage=true
18+
1619# # Build matrix for lowest and highest possible targets
1720matrix :
1821 include :
1922 - php : 7.0
20- env : dependencies=lowest
23+ env :
24+ - dependencies=lowest
25+ - coverage=false
2126 - php : 7.1
22- env : dependencies=lowest
27+ env :
28+ - dependencies=lowest
29+ - coverage=false
2330 - php : nightly
24- env : dependencies=lowest
31+ env :
32+ - dependencies=lowest
33+ - coverage=false
2534 - php : 7.0
26- env : dependencies=highest
35+ env :
36+ - dependencies=highest
37+ - coverage=false
2738 - php : 7.1
28- env : dependencies=highest
39+ env :
40+ - dependencies=highest
41+ - coverage=false
2942 - php : nightly
30- env : dependencies=highest
43+ env :
44+ - dependencies=highest
45+ - coverage=false
3146
3247# # Install or update dependencies
3348install :
49+ - composer validate
50+ - if [ "$coverage" = "false" ]; then phpenv config-rm xdebug.ini || :; fi;
3451 - if [ -z "$dependencies" ]; then composer install --prefer-dist; fi;
3552 - if [ "$dependencies" = "lowest" ]; then composer update --prefer-lowest --prefer-dist -n; fi;
3653 - if [ "$dependencies" = "highest" ]; then composer update --prefer-dist -n; fi;
3754 - composer show
3855
3956# # Run the actual test
40- script : make ci
57+ script :
58+ - if [ "$coverage" = "false" ]; then make ci; fi;
59+ - if [ "$coverage" = "true" ]; then make ci-with-coverage; fi;
4160
4261# # Gather coverage and set it to coverage servers
4362after_script : make ci-coverage
You can’t perform that action at this time.
0 commit comments