File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ language: php
22
33php :
44 - 7.3
5- - 7.4snapshot
5+ - 7.4
66
77services :
88 - redis-server
@@ -17,15 +17,13 @@ before_script:
1717
1818install :
1919 - travis_retry composer install --no-interaction --no-suggest
20- - travis_retry wget -c -nc --retry-connrefused --tries=0 https://scrutinizer-ci.com/ocular.phar
21- - chmod +x ocular.phar
22- - composer show
2320
2421script :
2522 - ./vendor/bin/phpunit --configuration ./phpunit.xml --coverage-clover=coverage.clover
26- - if [ "$TRAVIS_PHP_VERSION" == "7.4snapshot"]; then ./vendor/bin/psalm --config=psalm.xml; fi
27- - if [ "$TRAVIS_PHP_VERSION" == "7.4snapshot"]; then ./vendor/bin/php-cs-fixer fix --allow-risky=yes --dry-run; fi
23+ - if [ $TRAVIS_PHP_VERSION = "7.4" ]; then ./vendor/bin/psalm --config=psalm.xml; fi
24+ - if [ $TRAVIS_PHP_VERSION = "7.4" ]; then ./vendor/bin/phpstan analyse src --level 7; fi
25+ - if [ $TRAVIS_PHP_VERSION = "7.4" ]; then ./vendor/bin/php-cs-fixer fix --allow-risky=yes --dry-run; fi
2826
2927after_script :
30- - if [ " $TRAVIS_PHP_VERSION" == "7.4snapshot" ]; then wget -c -nc --retry-connrefused --tries=0 https://scrutinizer-ci.com/ocular.phar; fi
31- - if [ " $TRAVIS_PHP_VERSION" == "7.4snapshot" ]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi
28+ - if [ $TRAVIS_PHP_VERSION = "7.4" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi
29+ - if [ $TRAVIS_PHP_VERSION = "7.4" ]; 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