Skip to content
This repository was archived by the owner on Feb 19, 2020. It is now read-only.

Commit 546d90b

Browse files
committed
Remove support for old node versions
1 parent 3229d98 commit 546d90b

File tree

4 files changed

+20
-10
lines changed

4 files changed

+20
-10
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ charset = utf-8
99
insert_final_newline = true
1010
trim_trailing_whitespace = true
1111
indent_style = space
12-
indent_size = 4
12+
indent_size = 2
1313
max_line_length = 120
1414

1515
[Makefile]

appveyor.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ environment:
1111
- nodejs_version: 5
1212
- nodejs_version: 6
1313
- nodejs_version: 7
14+
- nodejs_version: 8
15+
- nodejs_version: 9
1416

1517
install:
1618
# Get the latest stable version of Node.js

circle.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
test:
22
override:
3-
- nvm install 0.10.48 && npm run test-only
4-
- nvm install 0.11.16 && npm run test-only
5-
- nvm install 0.12.18 && npm run test-only
6-
- nvm install 4.7.2 && npm run test
3+
- nvm install 4.8.7 && npm run test
74
- nvm install 5.12.0 && npm run test
8-
- nvm install 6.9.4 && npm run test
9-
- nvm install 7.4.0 && npm run test
5+
- nvm install 6.13.0 && npm run test
6+
- nvm install 7.10.1 && npm run test
7+
- nvm install 8.9.4 && npm run test
108
post:
11-
- chmod +x ./bin/codacy-coverage.js && cat ./coverage/lcov.info | node ./bin/codacy-coverage.js
9+
- nvm install 9.6.1
10+
- nvm alias default v9.6.1
11+
- nvm use default
12+
- npm run test-all
13+
- chmod +x ./bin/codacy-coverage.js
14+
- cat ./coverage/lcov.info | node ./bin/codacy-coverage.js

package.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@
2727
"bin": {
2828
"codacy-coverage": "./bin/codacy-coverage.js"
2929
},
30+
"engines": {
31+
"node": ">= 4.0.0"
32+
},
3033
"dependencies": {
3134
"bluebird": "^3.5.x",
3235
"commander": "^2.x",
@@ -49,7 +52,9 @@
4952
"eslint": "^4.x"
5053
},
5154
"scripts": {
52-
"test": "istanbul cover node_modules/mocha/bin/_mocha -- --check-leaks --timeout 30000 --reporter spec test/ && eslint . && nsp check",
53-
"test-only": "istanbul cover node_modules/mocha/bin/_mocha -- --check-leaks --timeout 30000 --reporter spec test/ && nsp check"
55+
"lint-style": "eslint .",
56+
"lint-dependencies": "nsp check",
57+
"test": "istanbul cover node_modules/mocha/bin/_mocha -- --check-leaks --timeout 30000 --reporter spec test/",
58+
"test-all": "npm run lint-style && npm run lint-dependencies && npm run test"
5459
}
5560
}

0 commit comments

Comments
 (0)