Skip to content

Commit eb7acb5

Browse files
committed
adjust phive usage
1 parent 18dbe06 commit eb7acb5

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.travis.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,22 @@ jobs:
2020
- stage: coverage
2121
php: 7.1
2222
before_script:
23+
- echo "code coverage not working from phpunit.phar, so use composer require for now"
2324
- composer require phpunit/phpunit
2425
script:
2526
- ./vendor/bin/phpunit
2627
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
2730
- 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
2931

3032
- stage: lint
3133
php: 7.1
3234
before_script:
3335
- 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
3537
script:
36-
- ./phpstan analyse src --level max --configuration phpstan.neon
38+
- ./tools/phpstan analyse src --level max --configuration phpstan.neon
3739
- composer create-project symplify/easy-coding-standard temp/ecs && temp/ecs/bin/ecs check src tests
3840

3941
cache:

0 commit comments

Comments
 (0)