File tree Expand file tree Collapse file tree 1 file changed +34
-15
lines changed Expand file tree Collapse file tree 1 file changed +34
-15
lines changed Original file line number Diff line number Diff line change 9
9
# # PHP versions we test against
10
10
php :
11
11
- 7.0
12
- - hhvm
12
+ - 7.1
13
+ - nightly
14
+
15
+ # # Environment variables
16
+ env :
17
+ - coverage=true
13
18
14
19
# # Build matrix for lowest and highest possible targets
15
20
matrix :
16
21
include :
17
22
- php : 7.0
18
- env : dependencies=lowest
19
- - php : hhvm
20
- env : dependencies=lowest
23
+ env :
24
+ - dependencies=lowest
25
+ - coverage=false
26
+ - php : 7.1
27
+ env :
28
+ - dependencies=lowest
29
+ - coverage=false
30
+ - php : nightly
31
+ env :
32
+ - dependencies=lowest
33
+ - coverage=false
21
34
- php : 7.0
22
- env : dependencies=highest
23
- - php : hhvm
24
- env : dependencies=highest
25
- allow_failures :
26
- - php : hhvm
27
-
28
- # # Update composer and configure authentication token
29
- before_install :
30
- - composer self-update
35
+ env :
36
+ - dependencies=highest
37
+ - coverage=false
38
+ - php : 7.1
39
+ env :
40
+ - dependencies=highest
41
+ - coverage=false
42
+ - php : nightly
43
+ env :
44
+ - dependencies=highest
45
+ - coverage=false
31
46
32
47
# # Install or update dependencies
33
48
install :
49
+ - composer validate
50
+ - if [ "$coverage" = "false" ]; 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 travis
57
+ script :
58
+ - if [ "$coverage" = "false" ]; then make ci; fi;
59
+ - if [ "$coverage" = "true" ]; then make ci-with-coverage; fi;
41
60
42
61
# # Gather coverage and set it to coverage servers
43
- after_script : make travis -coverage
62
+ after_script : make ci -coverage
You can’t perform that action at this time.
0 commit comments