Skip to content

Commit

Permalink
travis: uses NCS 2
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Sep 13, 2018
1 parent 9cb04d2 commit 43a2ab1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,18 @@ 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
# Install new Node.js
- . $HOME/.nvm/nvm.sh
- nvm install stable
- nvm use stable
# Install Grunt and Eslint
- npm install -g grunt-cli; cd tests/netteForms; npm install; cd ../..
script:
- php temp/code-checker/src/code-checker.php --short-arrays --strict-types
- php temp/coding-standard/ecs check src tests examples --config temp/coding-standard/coding-standard-php71.neon
- php temp/code-checker/code-checker --short-arrays --strict-types
- php temp/coding-standard/ecs check src tests examples --config temp/coding-standard/coding-standard-php71.yml
- grunt --gruntfile=tests/netteForms/Gruntfile.js test
- tests/netteForms/node_modules/.bin/eslint src/assets/netteForms.js --config tests/.eslintrc.js

Expand Down

0 comments on commit 43a2ab1

Please sign in to comment.