File tree Expand file tree Collapse file tree 1 file changed +18
-7
lines changed Expand file tree Collapse file tree 1 file changed +18
-7
lines changed Original file line number Diff line number Diff line change @@ -26,24 +26,34 @@ after_failure:
2626
2727jobs :
2828 include :
29- - env : title=" Lowest Dependencies"
29+ - name : Lowest Dependencies
3030 install :
3131 - travis_retry composer update --no-progress --prefer-dist --prefer-lowest --prefer-stable
3232
3333
34- - stage : Code Standard Checker
35- php : 7.1
34+ - name : Nette Code Checker
3635 install :
37- # Install Nette Code Checker
3836 - travis_retry composer create-project nette/code-checker temp/code-checker ^3 --no-progress
39- # Install Nette Coding Standard
40- - travis_retry composer create-project nette/coding-standard temp/coding-standard ^2 --no-progress
41-
4237 script :
4338 - php temp/code-checker/code-checker --strict-types
39+
40+
41+ - name : Nette Coding Standard
42+ install :
43+ - travis_retry composer create-project nette/coding-standard temp/coding-standard ^2 --no-progress
44+ script :
4445 - php temp/coding-standard/ecs check src tests --config temp/coding-standard/coding-standard-php71.yml
4546
4647
48+ - stage : Static Analysis (informative)
49+ install :
50+ # Install PHPStan
51+ - travis_retry composer create-project phpstan/phpstan-shim temp/phpstan --no-progress
52+ - travis_retry composer install --no-progress --prefer-dist
53+ script :
54+ - php temp/phpstan/phpstan.phar analyse --autoload-file vendor/autoload.php --level 5 src
55+
56+
4757 - stage : Code Coverage
4858 script :
4959 - vendor/bin/tester -p phpdbg tests -s --coverage ./coverage.xml --coverage-src ./src
5363
5464
5565 allow_failures :
66+ - stage : Static Analysis (informative)
5667 - stage : Code Coverage
5768
5869
You can’t perform that action at this time.
0 commit comments