File tree Expand file tree Collapse file tree 1 file changed +17
-6
lines changed Expand file tree Collapse file tree 1 file changed +17
-6
lines changed Original file line number Diff line number Diff line change @@ -26,20 +26,30 @@ after_failure:
26
26
27
27
jobs :
28
28
include :
29
- - stage : Code Standard Checker
30
- php : 7.1
29
+ - name : Nette Code Checker
31
30
install :
32
- # Install Nette Code Checker
33
31
- travis_retry composer create-project nette/code-checker temp/code-checker ^3.0 --no-progress
34
- # Install Nette Coding Standard
35
- - travis_retry composer create-project nette/coding-standard temp/coding-standard ^2 --no-progress
36
32
script :
37
33
- php temp/code-checker/code-checker --strict-types -i "tests/*/fixtures*" -i tests/Runner/find-tests
34
+
35
+
36
+ - name : Nette Coding Standard
37
+ install :
38
+ - travis_retry composer create-project nette/coding-standard temp/coding-standard ^2 --no-progress
39
+ script :
38
40
- php temp/coding-standard/ecs check src tests --config tests/coding-standard.yml
39
41
40
42
43
+ - stage : Static Analysis (informative)
44
+ install :
45
+ # Install PHPStan
46
+ - travis_retry composer create-project phpstan/phpstan-shim temp/phpstan --no-progress
47
+ - travis_retry composer install --no-progress --prefer-dist
48
+ script :
49
+ - php temp/phpstan/phpstan.phar analyse --autoload-file vendor/autoload.php --level 5 src
50
+
51
+
41
52
- stage : Code Coverage
42
- php : 7.1
43
53
script :
44
54
- src/tester -p phpdbg tests -s --coverage ./coverage.xml --coverage-src ./src
45
55
after_script :
48
58
49
59
50
60
allow_failures :
61
+ - stage : Static Analysis (informative)
51
62
- stage : Code Coverage
52
63
53
64
You can’t perform that action at this time.
0 commit comments