File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -20,20 +20,22 @@ jobs:
20
20
- stage : coverage
21
21
php : 7.1
22
22
before_script :
23
+ - echo "code coverage not working from phpunit.phar, so use composer require for now"
23
24
- composer require phpunit/phpunit
24
25
script :
25
26
- ./vendor/bin/phpunit
26
27
after_script :
28
+ - wget https://phar.io/releases/phive.phar
29
+ - php phive.phar --no-progress install --trust-gpg-keys E82B2FB314E9906E php-coveralls && ./tools/php-coveralls --verbose
27
30
- wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
28
- - wget https://github.com/php-coveralls/php-coveralls/releases/download/v2.0.0/php-coveralls.phar && php php-coveralls.phar --verbose
29
31
30
32
- stage : lint
31
33
php : 7.1
32
34
before_script :
33
35
- wget https://phar.io/releases/phive.phar
34
- - php phive.phar --no-progress install --trust-gpg-keys 8E730BA25823D8B5 --target ./ phpstan
36
+ - php phive.phar --no-progress install --trust-gpg-keys 8E730BA25823D8B5 phpstan
35
37
script :
36
- - ./phpstan analyse src --level max --configuration phpstan.neon
38
+ - ./tools/ phpstan analyse src --level max --configuration phpstan.neon
37
39
- composer create-project symplify/easy-coding-standard temp/ecs && temp/ecs/bin/ecs check src tests
38
40
39
41
cache :
You can’t perform that action at this time.
0 commit comments