File tree Expand file tree Collapse file tree 5 files changed +28
-2107
lines changed
Expand file tree Collapse file tree 5 files changed +28
-2107
lines changed Original file line number Diff line number Diff line change 77.settings
88
99# Build folder and vendor folder are generated code; no need to version this
10- build /*
11- temp /*
12- vendor /*
13- composer.phar
10+ build /
11+ temp /
12+ tools /
13+ vendor /
14+ * .phar
1415
1516# By default the phpunit.xml.dist is provided; you can override this using a local config file
1617phpunit.xml
Original file line number Diff line number Diff line change 11language : php
2- php :
3- - 7.1
4- - 7.2
5- - nightly
2+ php : [ 7.1, 7.2, nightly ]
63sudo : false
74
85env :
@@ -13,33 +10,35 @@ matrix:
1310 - php : nightly
1411
1512install :
16- - composer install --no-interaction --prefer-dist --optimize-autoloader
13+ - travis_retry composer install --no-interaction --prefer-dist --optimize-autoloader
14+ - travis_retry wget https://phar.io/releases/phive.phar
15+ - travis_retry composer require --dev phpunit/phpunit # cannot trust phpunit.phar, because this package is itself in that phar..."
16+
17+ script :
18+ - ./vendor/bin/phpunit --no-coverage
1719
1820jobs :
1921 include :
20- - stage : test
21- script :
22- - vendor/bin/phpunit --no-coverage
23-
2422 - stage : coverage
2523 php : 7.1
2624 script :
27- - vendor/bin/phpunit
25+ - ./ vendor/bin/phpunit
2826 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
27+ - travis_retry php phive .phar --no-progress install --trust-gpg-keys E82B2FB314E9906E php-coveralls/php-coveralls && ./tools/php-coveralls --verbose
28+ - travis_retry wget https://scrutinizer-ci .com/ocular. phar && php ocular .phar code-coverage:upload --format=php-clover build/logs/clover.xml
3129
3230 - stage : lint
3331 php : 7.1
3432 before_script :
35- - composer create-project symplify/easy-coding-standard temp/ecs
33+ - travis_retry php phive.phar --no-progress install --trust-gpg-keys 8E730BA25823D8B5 phpstan
3634 script :
37- - temp/ecs/bin/ecs check src tests
38- - vendor/bin/phpstan analyse src --level max --configuration phpstan.neon
35+ - ./tools/phpstan analyse src --level max --configuration phpstan.neon
36+ - composer create-project symplify/easy-coding-standard temp/ecs && temp/ecs/bin/ecs check src tests
3937
4038cache :
4139 directories :
4240 - $HOME/.composer/cache/files
41+ - $HOME/.phive
4342
4443notifications :
4544 irc : " irc.freenode.org#phpdocumentor"
Original file line number Diff line number Diff line change 1010 }
1111 ],
1212 "require" : {
13- "php" : " ^7.1" ,
14- "phpdocumentor/reflection-common" : " ^1.0" ,
13+ "php" : " >=7.1" ,
1514 "phpdocumentor/type-resolver" : " ^0.5" ,
1615 "webmozart/assert" : " ^1.0"
1716 },
1817 "require-dev" : {
1918 "mockery/mockery" : " ^1.0" ,
20- "phpunit/phpunit" : " ^6.4" ,
21- "doctrine/instantiator" : " ^1.0" ,
22- "phpstan/phpstan" : " ^0.9.0"
19+ "doctrine/instantiator" : " ^1.0"
2320 },
2421 "autoload" : {
2522 "psr-4" : {
You can’t perform that action at this time.
0 commit comments