11language : php
2- php :
3- - 7.1
4- - 7.2
5- - nightly
2+ php : [ 7.1, 7.2, nightly ]
63
74env :
85
@@ -12,34 +9,35 @@ matrix:
129 - php : nightly
1310
1411install :
15- - sudo apt install graphviz
16- - composer install --no-interaction --prefer-dist --optimize-autoloader
12+ - travis_retry sudo apt install graphviz
13+ - travis_retry composer install --no-interaction --prefer-dist --optimize-autoloader
14+ - travis_retry wget https://phar.io/releases/phive.phar
15+
16+ script :
17+ - ./vendor/bin/phpunit --no-coverage
1718
1819jobs :
1920 include :
20- - stage : test
21- script :
22- - vendor/bin/phpunit --no-coverage
23-
2421 - stage : coverage
2522 php : 7.1
2623 script :
27- - vendor/bin/phpunit
24+ - ./ vendor/bin/phpunit
2825 after_script :
29- - wget https://scrutinizer-ci.com/ocular.phar && php ocular .phar code-coverage:upload --format= php-clover build/logs/clover.xml
30- - 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
3128
3229 - stage : lint
3330 php : 7.1
3431 before_script :
35- - composer create-project symplify/easy-coding-standard temp/ecs
32+ - travis_retry php phive.phar --no-progress install --trust-gpg-keys 8E730BA25823D8B5 phpstan
3633 script :
37- - temp/ecs/bin/ecs check src tests
38- - 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
3936
4037cache :
4138 directories :
4239 - $HOME/.composer/cache/files
40+ - $HOME/.phive
4341
4442notifications :
4543 irc : " irc.freenode.org#phpdocumentor"
0 commit comments