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
2
2
3
3
php :
4
4
- 7.3
5
- - 7.4snapshot
5
+ - 7.4
6
6
7
7
services :
8
8
- redis-server
@@ -17,15 +17,13 @@ before_script:
17
17
18
18
install :
19
19
- 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
23
20
24
21
script :
25
22
- ./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
28
26
29
27
after_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