mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-18 10:07:12 +00:00
run coverage before lint
This commit is contained in:
+8
-8
@@ -21,14 +21,6 @@ jobs:
|
|||||||
script:
|
script:
|
||||||
- vendor/bin/phpunit --no-coverage
|
- vendor/bin/phpunit --no-coverage
|
||||||
|
|
||||||
- stage: lint
|
|
||||||
php: 7.1
|
|
||||||
before_script:
|
|
||||||
- composer create-project symplify/easy-coding-standard temp/ecs
|
|
||||||
script:
|
|
||||||
- temp/ecs/bin/ecs check src tests
|
|
||||||
- vendor/bin/phpstan analyse src --level max --configuration phpstan.neon
|
|
||||||
|
|
||||||
- stage: coverage
|
- stage: coverage
|
||||||
php: 7.1
|
php: 7.1
|
||||||
script:
|
script:
|
||||||
@@ -37,6 +29,14 @@ jobs:
|
|||||||
- wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
|
- wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
|
||||||
- wget https://github.com/satooshi/php-coveralls/releases/download/v1.0.1/coveralls.phar && php coveralls.phar --verbose
|
- wget https://github.com/satooshi/php-coveralls/releases/download/v1.0.1/coveralls.phar && php coveralls.phar --verbose
|
||||||
|
|
||||||
|
- stage: lint
|
||||||
|
php: 7.1
|
||||||
|
before_script:
|
||||||
|
- composer create-project symplify/easy-coding-standard temp/ecs
|
||||||
|
script:
|
||||||
|
- temp/ecs/bin/ecs check src tests
|
||||||
|
- vendor/bin/phpstan analyse src --level max --configuration phpstan.neon
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
- $HOME/.composer/cache/files
|
- $HOME/.composer/cache/files
|
||||||
|
|||||||
Reference in New Issue
Block a user