Skip to content

Commit

Permalink
Update .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MrPropre committed Mar 26, 2021
1 parent 39ae7c1 commit 01a3db6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ before_script:

script:
- ./vendor/bin/phpcs --extensions=php --standard=psr12 -sp src
- XDEBUG_MODE=coverage ./vendor/bin/phpunit --coverage-clover=clover.xml
- XDEBUG_MODE=coverage ./vendor/bin/phpunit --coverage-clover=build/logs/clover.xml

after_success:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover clover.xml
- php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
- wget https://github.com/php-coveralls/php-coveralls/releases/download/v2.4.3/php-coveralls.phar
- travis_retry php php-coveralls.phar --coverage_clover=clover.xml
- travis_retry php php-coveralls.phar --coverage_clover=build/logs/clover.xml

0 comments on commit 01a3db6

Please sign in to comment.