Skip to content

Commit c2d4d93

Browse files
committed
travis: uses NCS 2 & CS 3
1 parent 9cb04d2 commit c2d4d93

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,18 @@ jobs:
2828
php: 7.1
2929
install:
3030
# Install Nette Code Checker
31-
- travis_retry composer create-project nette/code-checker temp/code-checker ~2 --no-progress
31+
- travis_retry composer create-project nette/code-checker temp/code-checker ^3 --no-progress
3232
# Install Nette Coding Standard
33-
- travis_retry composer create-project nette/coding-standard temp/coding-standard --no-progress
33+
- travis_retry composer create-project nette/coding-standard temp/coding-standard ^2 --no-progress
3434
# Install new Node.js
3535
- . $HOME/.nvm/nvm.sh
3636
- nvm install stable
3737
- nvm use stable
3838
# Install Grunt and Eslint
3939
- npm install -g grunt-cli; cd tests/netteForms; npm install; cd ../..
4040
script:
41-
- php temp/code-checker/src/code-checker.php --short-arrays --strict-types
42-
- php temp/coding-standard/ecs check src tests examples --config temp/coding-standard/coding-standard-php71.neon
41+
- php temp/code-checker/code-checker --strict-types
42+
- php temp/coding-standard/ecs check src tests examples --config temp/coding-standard/coding-standard-php71.yml
4343
- grunt --gruntfile=tests/netteForms/Gruntfile.js test
4444
- tests/netteForms/node_modules/.bin/eslint src/assets/netteForms.js --config tests/.eslintrc.js
4545

0 commit comments

Comments
 (0)