Skip to content

Commit 71b71f7

Browse files
committed
use phive where possible;
1 parent 180cbd4 commit 71b71f7

File tree

4 files changed

+13
-853
lines changed

4 files changed

+13
-853
lines changed

.travis.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ matrix:
1111

1212
install:
1313
- travis_retry composer install --no-interaction --prefer-dist --optimize-autoloader
14+
- travis_retry wget https://phar.io/releases/phive.phar
1415

1516
script:
1617
- ./vendor/bin/phpunit --no-coverage
@@ -22,20 +23,21 @@ jobs:
2223
script:
2324
- ./vendor/bin/phpunit
2425
after_script:
25-
- wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
26-
- wget https://github.com/satooshi/php-coveralls/releases/download/v1.0.1/coveralls.phar && php coveralls.phar --verbose
26+
- travis_retry php phive.phar --no-progress install --trust-gpg-keys E82B2FB314E9906E php-coveralls/php-coveralls && ./tools/php-coveralls --verbose
27+
- travis_retry wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
2728

2829
- stage: lint
2930
php: 7.1
3031
before_script:
31-
- composer create-project symplify/easy-coding-standard temp/ecs
32+
- travis_retry php phive.phar --no-progress install --trust-gpg-keys 8E730BA25823D8B5 phpstan
3233
script:
33-
- temp/ecs/bin/ecs check src tests
34-
- vendor/bin/phpstan analyse src --level max --configuration phpstan.neon
34+
- ./tools/phpstan analyse src --level max --configuration phpstan.neon
35+
- composer create-project symplify/easy-coding-standard temp/ecs && temp/ecs/bin/ecs check src tests
3536

3637
cache:
3738
directories:
3839
- $HOME/.composer/cache/files
40+
- $HOME/.phive
3941

4042
notifications:
4143
irc: "irc.freenode.org#phpdocumentor"

composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@
2828
"mockery/mockery": "~1.0",
2929
"mikey179/vfsStream": "~1.2",
3030
"squizlabs/php_codesniffer": "^2.5",
31-
"phpunit/phpunit": "~6.5",
32-
"phpstan/phpstan": "^0.9.0"
31+
"phpunit/phpunit": "~6.5"
3332
},
3433
"extra": {
3534
"branch-alias": {

0 commit comments

Comments
 (0)