File tree Expand file tree Collapse file tree 4 files changed +13
-853
lines changed Expand file tree Collapse file tree 4 files changed +13
-853
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ matrix:
11
11
12
12
install :
13
13
- travis_retry composer install --no-interaction --prefer-dist --optimize-autoloader
14
+ - travis_retry wget https://phar.io/releases/phive.phar
14
15
15
16
script :
16
17
- ./vendor/bin/phpunit --no-coverage
@@ -22,20 +23,21 @@ jobs:
22
23
script :
23
24
- ./vendor/bin/phpunit
24
25
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
27
28
28
29
- stage : lint
29
30
php : 7.1
30
31
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
32
33
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
35
36
36
37
cache :
37
38
directories :
38
39
- $HOME/.composer/cache/files
40
+ - $HOME/.phive
39
41
40
42
notifications :
41
43
irc : " irc.freenode.org#phpdocumentor"
Original file line number Diff line number Diff line change 28
28
"mockery/mockery" : " ~1.0" ,
29
29
"mikey179/vfsStream" : " ~1.2" ,
30
30
"squizlabs/php_codesniffer" : " ^2.5" ,
31
- "phpunit/phpunit" : " ~6.5" ,
32
- "phpstan/phpstan" : " ^0.9.0"
31
+ "phpunit/phpunit" : " ~6.5"
33
32
},
34
33
"extra" : {
35
34
"branch-alias" : {
You can’t perform that action at this time.
0 commit comments