mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-18 01:57:13 +00:00
run coverage before lint
This commit is contained in:
+8
-8
@@ -21,14 +21,6 @@ jobs:
|
||||
script:
|
||||
- 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
|
||||
php: 7.1
|
||||
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://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:
|
||||
directories:
|
||||
- $HOME/.composer/cache/files
|
||||
|
||||
Reference in New Issue
Block a user