mirror of
https://github.com/dg/dibi.git
synced 2025-08-31 09:41:43 +02:00
travis: uses NCS 2
This commit is contained in:
@@ -29,12 +29,12 @@ jobs:
|
||||
php: 7.1
|
||||
install:
|
||||
# Install Nette Code Checker
|
||||
- travis_retry composer create-project nette/code-checker temp/code-checker ~2 --no-progress
|
||||
- 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 --no-progress
|
||||
- travis_retry composer create-project nette/coding-standard temp/coding-standard ^2 --no-progress
|
||||
script:
|
||||
- php temp/code-checker/src/code-checker.php --short-arrays --strict-types
|
||||
- php temp/coding-standard/ecs check src tests examples --config tests/coding-standard.neon
|
||||
- php temp/code-checker/code-checker --strict-types
|
||||
- php temp/coding-standard/ecs check src tests examples --config tests/coding-standard.yml
|
||||
|
||||
|
||||
- stage: Code Coverage
|
||||
|
Reference in New Issue
Block a user