Skip to content

Commit ec1e405

Browse files
committed
travis: finely segmented matrix
1 parent 3235d44 commit ec1e405

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

.travis.yml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,28 +20,27 @@ after_failure:
2020

2121
jobs:
2222
include:
23-
- stage: Code Standard Checker
24-
php: 7.1
23+
- name: Nette Code Checker
2524
install:
26-
# Install Nette Code Checker
2725
- travis_retry composer create-project nette/code-checker temp/code-checker ^3 --no-progress
28-
# Install Nette Coding Standard
29-
- travis_retry composer create-project nette/coding-standard temp/coding-standard ^2 --no-progress
30-
3126
script:
3227
- php temp/code-checker/code-checker --strict-types -i tests/Utils/fixtures.reflection
28+
29+
30+
- name: Nette Coding Standard
31+
install:
32+
- travis_retry composer create-project nette/coding-standard temp/coding-standard ^2 --no-progress
33+
script:
3334
- php temp/coding-standard/ecs check src tests --config tests/coding-standard.yml
3435

3536

36-
- stage: Static Analysis
37-
php: 7.1
37+
- stage: Static Analysis (informative)
3838
install:
3939
# Install PHPStan
4040
- travis_retry composer create-project phpstan/phpstan-shim temp/phpstan --no-progress
4141
- travis_retry composer install --no-progress --prefer-dist
42-
4342
script:
44-
- php temp/phpstan/phpstan.phar analyse --autoload-file vendor/autoload.php --level 7 --configuration tests/phpstan.neon src
43+
- php temp/phpstan/phpstan.phar analyse --autoload-file vendor/autoload.php --level 5 --configuration tests/phpstan.neon src
4544

4645

4746
- stage: Code Coverage
@@ -53,7 +52,7 @@ jobs:
5352

5453

5554
allow_failures:
56-
- stage: Static Analysis
55+
- stage: Static Analysis (informative)
5756
- stage: Code Coverage
5857

5958

0 commit comments

Comments
 (0)