File tree Expand file tree Collapse file tree 1 file changed +19
-7
lines changed Expand file tree Collapse file tree 1 file changed +19
-7
lines changed Original file line number Diff line number Diff line change @@ -24,24 +24,35 @@ after_failure:
2424
2525jobs :
2626 include :
27- - env : title="Lowest Dependencies" PHP_BIN=php
27+ - name : Lowest Dependencies
28+ env : PHP_BIN=php
2829 install :
2930 - travis_retry composer update --no-progress --prefer-dist --prefer-lowest --prefer-stable
3031
3132
32- - stage : Code Standard Checker
33- php : 7.1
33+ - name : Nette Code Checker
3434 install :
35- # Install Nette Code Checker
3635 - travis_retry composer create-project nette/code-checker temp/code-checker ^3 --no-progress
37- # Install Nette Coding Standard
38- - travis_retry composer create-project nette/coding-standard temp/coding-standard ^2 --no-progress
39-
4036 script :
4137 - php temp/code-checker/code-checker --strict-types
38+
39+
40+ - name : Nette Coding Standard
41+ install :
42+ - travis_retry composer create-project nette/coding-standard temp/coding-standard ^2 --no-progress
43+ script :
4244 - php temp/coding-standard/ecs check src tests --config temp/coding-standard/coding-standard-php71.yml
4345
4446
47+ - stage : Static Analysis (informative)
48+ install :
49+ # Install PHPStan
50+ - travis_retry composer create-project phpstan/phpstan-shim temp/phpstan --no-progress
51+ - travis_retry composer install --no-progress --prefer-dist
52+ script :
53+ - php temp/phpstan/phpstan.phar analyse --autoload-file vendor/autoload.php --level 5 src
54+
55+
4556 - stage : Code Coverage
4657 script :
4758 - vendor/bin/tester -p phpdbg tests -s --coverage ./coverage.xml --coverage-src ./src
5162
5263
5364 allow_failures :
65+ - stage : Static Analysis (informative)
5466 - stage : Code Coverage
5567
5668
You can’t perform that action at this time.
0 commit comments