8000 Skip style tests in node 0.12 · hubgit/diff2html@80d92ba · GitHub
[go: up one dir, main page]

Skip to content

Commit 80d92ba

Browse files
committed
Skip style tests in node 0.12
1 parent 0f38cde commit 80d92ba
File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

circle.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
test:
22
override:
33
- nvm install 0.12 && npm test
4-
- nvm install 4 && npm test
5-
- nvm install 5 && npm test
4+
- nvm install 4 && npm run style && npm test
5+
- nvm install 5 && npm run style && npm test
66
post:
7-
- npm install
8-
- npm test
7+
- nvm install 6 && npm install && npm run style && npm test
98
- cat ./coverage/lcov.info | ./node_modules/.bin/codacy-coverage

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"style": "eslint src/*.js src/ui/js/*.js",
4343
"coverage": "istanbul cover _mocha -- -u exports -R spec ./test/**/*",
4444
"check-coverage": "istanbul check-coverage --statements 90 --functions 90 --branches 85 --lines 90 ./coverage/coverage.json",
45-
"test": "npm run style && npm run coverage && npm run check-coverage",
45+
"test": "npm run coverage && npm run check-coverage",
4646
"codacy": "npm run coverage && cat ./coverage/lcov.info | codacy-coverage",
4747
"preversion": "npm run release && npm test",
4848
"version": "npm run release-bower && git add -A src dist package.json bower.json",

0 commit comments

Comments
 (0)
0