Skip to content

Commit cb76661

Browse files
committed
use preinstalled phpunit; don't show phive download progress;
1 parent 56a0d1b commit cb76661

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.travis.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,25 +11,22 @@ matrix:
1111

1212
install:
1313
- composer install --no-interaction --prefer-dist --optimize-autoloader
14-
- wget https://phar.io/releases/phive.phar
15-
- php phive.phar install --trust-gpg-keys 4AA394086372C20A --target ./ phpunit
1614

1715
jobs:
1816
include:
1917
- stage: coverage
2018
php: 7.1
21-
before_script:
22-
- composer require phpunit/phpunit
2319
script:
24-
- ./vendor/bin/phpunit
20+
- phpunit
2521
after_script:
2622
- wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
2723
- wget https://github.com/php-coveralls/php-coveralls/releases/download/v2.0.0/php-coveralls.phar && php php-coveralls.phar --verbose
2824

2925
- stage: lint
3026
php: 7.1
3127
before_script:
32-
- php phive.phar install --trust-gpg-keys 8E730BA25823D8B5 --target ./ phpstan
28+
- wget https://phar.io/releases/phive.phar
29+
- php phive.phar --no-progress install --trust-gpg-keys 8E730BA25823D8B5 --target ./ phpstan
3330
script:
3431
- ./phpstan analyse src --level max --configuration phpstan.neon
3532
- composer create-project symplify/easy-coding-standard temp/ecs && temp/ecs/bin/ecs check src tests

0 commit comments

Comments
 (0)