From 80d92ba1814bf1e206c80245f7589014f6b822d0 Mon Sep 17 00:00:00 2001 From: Rodrigo Fernandes Date: Tue, 12 Jul 2016 18:01:55 +0100 Subject: [PATCH] Skip style tests in node 0.12 --- circle.yml | 7 +++---- package.json | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/circle.yml b/circle.yml index b239e907..029a8a76 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 f16323d6..61acdddc 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",