File tree Expand file tree Collapse file tree 1 file changed +6
-14
lines changed Expand file tree Collapse file tree 1 file changed +6
-14
lines changed Original file line number Diff line number Diff line change 11language : php
22
33php :
4- - 7.2
5- - 7.3
6- - 7.4snapshot
7-
8- matrix :
9- allow_failures :
10- - php : 7.4snapshot
4+ - 7.4
115
126cache :
137 directories :
@@ -19,16 +13,14 @@ before_script:
1913
2014install :
2115 - travis_retry composer install --no-interaction --no-suggest
22- - travis_retry wget -c -nc --retry-connrefused --tries=0 https://scrutinizer-ci.com/ocular.phar
23- - chmod +x ocular.phar
24- - composer show
2516
2617script :
2718 - ./vendor/bin/phpunit --configuration ./phpunit.xml --coverage-clover=coverage.clover
28- - if [ " $TRAVIS_PHP_VERSION" == "7.2 " ]; then ./vendor/bin/psalm --config=psalm.xml; fi
29- - if [ " $TRAVIS_PHP_VERSION" == "7.2 " ]; then ./vendor/bin/phpstan analyse src --level 7; fi
30- - if [ " $TRAVIS_PHP_VERSION" == "7.2 " ]; then ./vendor/bin/php-cs-fixer fix --allow-risky=yes --dry-run; fi
19+ - if [ $TRAVIS_PHP_VERSION = "7.4 " ]; then ./vendor/bin/psalm --config=psalm.xml; fi
20+ - if [ $TRAVIS_PHP_VERSION = "7.4 " ]; then ./vendor/bin/phpstan analyse src --level 7; fi
21+ - if [ $TRAVIS_PHP_VERSION = "7.4 " ]; then ./vendor/bin/php-cs-fixer fix --allow-risky=yes --dry-run; fi
3122
3223after_script :
33- - if [ "$TRAVIS_PHP_VERSION" == "7.2" ]; then wget -c -nc --retry-connrefused --tries=0 https://scrutinizer-ci.com/ocular.phar; fi
24+ - if [ $TRAVIS_PHP_VERSION = "7.4" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi
25+ - if [ $TRAVIS_PHP_VERSION = "7.4" ]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi fi
3426 - if [ "$TRAVIS_PHP_VERSION" == "7.2" ]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi
You can’t perform that action at this time.
0 commit comments