Skip to content

Commit

Permalink
travis: finely segmented matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Feb 5, 2019
1 parent 3235d44 commit ec1e405
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,28 +20,27 @@ after_failure:

jobs:
include:
- stage: Code Standard Checker
php: 7.1
- name: Nette Code Checker
install:
# Install Nette Code Checker
- travis_retry composer create-project nette/code-checker temp/code-checker ^3 --no-progress
# Install Nette Coding Standard
- travis_retry composer create-project nette/coding-standard temp/coding-standard ^2 --no-progress

script:
- php temp/code-checker/code-checker --strict-types -i tests/Utils/fixtures.reflection


- name: Nette Coding Standard
install:
- travis_retry composer create-project nette/coding-standard temp/coding-standard ^2 --no-progress
script:
- php temp/coding-standard/ecs check src tests --config tests/coding-standard.yml


- stage: Static Analysis
php: 7.1
- stage: Static Analysis (informative)
install:
# Install PHPStan
- travis_retry composer create-project phpstan/phpstan-shim temp/phpstan --no-progress
- travis_retry composer install --no-progress --prefer-dist

script:
- php temp/phpstan/phpstan.phar analyse --autoload-file vendor/autoload.php --level 7 --configuration tests/phpstan.neon src
- php temp/phpstan/phpstan.phar analyse --autoload-file vendor/autoload.php --level 5 --configuration tests/phpstan.neon src


- stage: Code Coverage
Expand All @@ -53,7 +52,7 @@ jobs:


allow_failures:
- stage: Static Analysis
- stage: Static Analysis (informative)
- stage: Code Coverage


Expand Down

0 comments on commit ec1e405

Please sign in to comment.