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 @@ -20,24 +20,34 @@ after_failure:
20
20
21
21
jobs :
22
22
include :
23
- - env : title=" Lowest Dependencies"
23
+ - name : Lowest Dependencies
24
24
install :
25
25
- travis_retry composer update --no-progress --prefer-dist --prefer-lowest --prefer-stable
26
26
27
27
28
- - stage : Code Standard Checker
29
- php : 7.1
28
+ - name : Nette Code Checker
30
29
install :
31
- # Install Nette Code Checker
32
30
- travis_retry composer create-project nette/code-checker temp/code-checker ^3 --no-progress
33
- # Install Nette Coding Standard
34
- - travis_retry composer create-project nette/coding-standard temp/coding-standard ^2 --no-progress
35
-
36
31
script :
37
32
- php temp/code-checker/code-checker --strict-types
33
+
34
+
35
+ - name : Nette Coding Standard
36
+ install :
37
+ - travis_retry composer create-project nette/coding-standard temp/coding-standard ^2 --no-progress
38
+ script :
38
39
- php temp/coding-standard/ecs check src tests --config temp/coding-standard/coding-standard-php71.yml
39
40
40
41
42
+ - stage : Static Analysis (informative)
43
+ install :
44
+ # Install PHPStan
45
+ - travis_retry composer create-project phpstan/phpstan-shim temp/phpstan --no-progress
46
+ - travis_retry composer install --no-progress --prefer-dist
47
+ script :
48
+ - php temp/phpstan/phpstan.phar analyse --autoload-file vendor/autoload.php --level 5 src
49
+
50
+
41
51
- stage : Code Coverage
42
52
script :
43
53
- vendor/bin/tester -p phpdbg tests -s --coverage ./coverage.xml --coverage-src ./src
47
57
48
58
49
59
allow_failures :
60
+ - stage : Static Analysis (informative)
50
61
- stage : Code Coverage
51
62
52
63
You can’t perform that action at this time.
0 commit comments