Skip style tests in node 0.12
This commit is contained in:
parent
0f38cdeb79
commit
80d92ba181
2 changed files with 4 additions and 5 deletions
|
|
@ -1,9 +1,8 @@
|
|||
test:
|
||||
override:
|
||||
- nvm install 0.12 && npm test
|
||||
- nvm install 4 && npm test
|
||||
- nvm install 5 && npm test
|
||||
- nvm install 4 && npm run style && npm test
|
||||
- nvm install 5 && npm run style && npm test
|
||||
post:
|
||||
- npm install
|
||||
- npm test
|
||||
- nvm install 6 && npm install && npm run style && npm test
|
||||
- cat ./coverage/lcov.info | ./node_modules/.bin/codacy-coverage
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@
|
|||
"style": "eslint src/*.js src/ui/js/*.js",
|
||||
"coverage": "istanbul cover _mocha -- -u exports -R spec ./test/**/*",
|
||||
"check-coverage": "istanbul check-coverage --statements 90 --functions 90 --branches 85 --lines 90 ./coverage/coverage.json",
|
||||
"test": "npm run style && npm run coverage && npm run check-coverage",
|
||||
"test": "npm run coverage && npm run check-coverage",
|
||||
"codacy": "npm run coverage && cat ./coverage/lcov.info | codacy-coverage",
|
||||
"preversion": "npm run release && npm test",
|
||||
"version": "npm run release-bower && git add -A src dist package.json bower.json",
|
||||
|
|
|
|||
Loading…
Reference in a new issue