diff --git a/circle.yml b/circle.yml index b239e90..029a8a7 100644 --- a/circle.yml +++ b/circle.yml @@ -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 diff --git a/package.json b/package.json index f16323d..61acddd 100644 --- a/package.json +++ b/package.json @@ -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",