File tree Expand file tree Collapse file tree 1 file changed +36
-17
lines changed Expand file tree Collapse file tree 1 file changed +36
-17
lines changed Original file line number Diff line number Diff line change 1
1
language : php
2
- sudo : false
3
2
4
3
# # Cache composer bits
5
4
cache :
6
5
directories :
7
- - $HOME/.composer/cache
8
- - $HOME/.humbug
9
-
10
- # # PHP versions we test against
11
- php :
12
- - 7.0
13
- - 7.1
14
- - nightly
6
+ - $HOME/.composer/cache/files
15
7
16
8
# # Build matrix for lowest and highest possible targets
17
9
matrix :
18
10
include :
19
11
- php : 7.0
20
- env : dependencies=lowest
12
+ env :
13
+ - qaExtended=true
14
+ - php : 7.1
15
+ - php : 7.2
16
+ - php : nightly
17
+ env :
18
+ - dropPlatform=false
19
+ - php : 7.0
20
+ env :
21
+ - dependencies=lowest
21
22
- php : 7.1
22
- env : dependencies=lowest
23
+ env :
24
+ - dependencies=lowest
25
+ - php : 7.2
26
+ env :
27
+ - dependencies=lowest
23
28
- php : nightly
24
- env : dependencies=lowest
29
+ env :
30
+ - dependencies=lowest
31
+ - dropPlatform=false
25
32
- php : 7.0
26
- env : dependencies=highest
33
+ env :
34
+ - dependencies=highest
27
35
- php : 7.1
28
- env : dependencies=highest
36
+ env :
37
+ - dependencies=highest
38
+ - php : 7.2
39
+ env :
40
+ - dependencies=highest
29
41
- php : nightly
30
- env : dependencies=highest
42
+ env :
43
+ - dependencies=highest
44
+ - dropPlatform=false
31
45
32
46
# # Install or update dependencies
33
47
install :
48
+ - composer validate
49
+ - if [ -z "$dropPlatform" ]; then composer config --unset platform.php; fi;
50
+ - if [ -z "$qaExtended" ]; then phpenv config-rm xdebug.ini || :; fi;
34
51
- if [ -z "$dependencies" ]; then composer install --prefer-dist; fi;
35
52
- if [ "$dependencies" = "lowest" ]; then composer update --prefer-lowest --prefer-dist -n; fi;
36
53
- if [ "$dependencies" = "highest" ]; then composer update --prefer-dist -n; fi;
37
54
- composer show
38
55
39
56
# # Run the actual test
40
- script : make ci
57
+ script :
58
+ - if [ -z "$qaExtended" ]; then make ci; fi;
59
+ - if [ "$qaExtended" = "true" ]; then make ci-extended; fi;
41
60
42
61
# # Gather coverage and set it to coverage servers
43
- after_script : make ci-coverage
62
+ after_script : if [ "$qaExtended" = "true" ]; then make ci-coverage; fi;
You can’t perform that action at this time.
0 commit comments