File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 1
1
language : php
2
2
3
3
php :
4
- - 7.2
5
4
- 7.3
6
5
- 7.4
7
6
- nightly
@@ -30,15 +29,14 @@ install:
30
29
31
30
before_script : |
32
31
if (php -m | grep -q -i xdebug); then
33
- export PHPUNIT_FLAGS ="--coverage-clover cache/logs/clover. xml"
32
+ export COVERAGE_FLAGS ="--coverage --coverage- xml"
34
33
else
35
- export PHPUNIT_FLAGS="--no-coverage "
34
+ export COVERAGE_FLAGS=" "
36
35
fi
37
36
38
37
script :
39
- - vendor/bin/phpunit $PHPUNIT_FLAGS
38
+ - vendor/bin/codecept run $COVERAGE_FLAGS
40
39
41
40
after_script :
42
- - test "$PHPUNIT_FLAGS" == "--no-coverage" || vendor/bin/infection --only-covered --no-progress --no-interaction --threads=4
43
- - test "$PHPUNIT_FLAGS" == "--no-coverage" || php "$HOME/ocular.phar" code-coverage:upload --format=php-clover cache/logs/clover.xml
41
+ - test "$COVERAGE_FLAGS" == "" || php "$HOME/ocular.phar" code-coverage:upload --format=php-clover tests/_output/coverage.xml
44
42
You can’t perform that action at this time.
0 commit comments