Skip to content

Commit 7c9cf58

Browse files
committed
Updated Travis config
1 parent 305276c commit 7c9cf58

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.travis.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,14 @@ language: php
33
matrix:
44
fast_finish: true
55
include:
6-
- php: 7.4
6+
- php: 8.0
77
env: COVERAGE=1
88
- php: 7.1
9-
- php: 8.0
109
before_script:
1110
- sh -c "if [ '$COVERAGE' ]; then wget https://scrutinizer-ci.com/ocular.phar -O /tmp/ocular.phar; fi"
1211
- composer install
1312
script:
14-
- sh -c "if [ '$COVERAGE' ]; then vendor/bin/phpunit --coverage-clover /tmp/clover.xml; fi"
13+
- sh -c "if [ '$COVERAGE' ]; then php -d xdebug.mode=coverage vendor/bin/phpunit --coverage-clover /tmp/clover.xml; fi"
1514
- sh -c "if [ -z '$COVERAGE' ]; then vendor/bin/phpunit; fi"
1615
after_script:
1716
- sh -c "if [ '$COVERAGE' ]; then php /tmp/ocular.phar code-coverage:upload -vvv --format=php-clover /tmp/clover.xml; fi"

0 commit comments

Comments
 (0)