|
|
@@ -45,13 +45,14 @@ before_script:
|
|
|
script:
|
|
|
- if [[ $DEFAULT == 1 ]]; then vendor/bin/phpunit; fi
|
|
|
- if [[ $PREFER_LOWEST == 1 ]]; then vendor/bin/validate-prefer-lowest; fi
|
|
|
+
|
|
|
+ - if [[ $CODECOVERAGE == 1 ]]; then phpdbg -qrr vendor/bin/phpunit --coverage-clover=clover.xml; fi
|
|
|
|
|
|
- if [[ $CHECKS == 1 ]]; then composer phpstan-setup && composer phpstan ; fi
|
|
|
- if [[ $CHECKS == 1 ]]; then composer cs-check ; fi
|
|
|
|
|
|
- - if [[ $CODECOVERAGE == 1 ]]; then vendor/bin/phpunit --coverage-clover=clover.xml || true; fi
|
|
|
- - if [[ $CODECOVERAGE == 1 ]]; then wget -O codecov.sh https://codecov.io/bash; fi
|
|
|
- - if [[ $CODECOVERAGE == 1 ]]; then bash codecov.sh; fi
|
|
|
+after_success:
|
|
|
+ - if [[ $CODECOVERAGE == 1 ]]; then bash <(curl -s https://codecov.io/bash); fi
|
|
|
|
|
|
notifications:
|
|
|
email: false
|