File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change 12
12
env :
13
13
global :
14
14
- DEFAULT_COMPOSER_FLAGS="--optimize-autoloader --no-interaction --no-progress"
15
- - COLLECT_COVERAGE=0
16
15
- COMPOSER_FLAGS=""
17
16
18
17
before_install :
@@ -94,23 +93,18 @@ jobs:
94
93
<< : *STANDARD_TEST_JOB
95
94
stage : Test
96
95
php : 7.3
96
+ name : 7.3 | With migration rules
97
97
before_script :
98
98
- php php-cs-fixer fix --rules @PHP71Migration,@PHP71Migration:risky,blank_line_after_opening_tag -q || travis_terminate 1
99
99
100
100
-
101
101
<< : *STANDARD_TEST_JOB
102
102
stage : Test
103
103
php : 7.3
104
- env : COLLECT_COVERAGE=1
104
+ name : 7.3 | Collect coverage
105
105
before_install :
106
- # check phpdbg
107
- - phpdbg --version 2> /dev/null || { echo 'No phpdbg'; export COLLECT_COVERAGE=0; }
108
-
109
106
# for building a tag release we don't need to collect code coverage
110
- - if [ $TRAVIS_TAG ]; then export COLLECT_COVERAGE=0; fi
111
-
112
- # terminate job when no coverage collecting shall be performed
113
- - if [ $COLLECT_COVERAGE == 0 ]; then travis_terminate 0; fi
107
+ - if [ $TRAVIS_TAG ]; then travis_terminate 0; fi
114
108
115
109
# # regular `before_install`
116
110
# turn off XDebug
You can’t perform that action at this time.
0 commit comments