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

Commit

Permalink
Remove support for old node versions
Browse files Browse the repository at this point in the history
  • Loading branch information
rtfpessoa committed Mar 1, 2018
1 parent 3229d98 commit 546d90b
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Expand Up @@ -9,7 +9,7 @@ charset = utf-8
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 4
indent_size = 2
max_line_length = 120

[Makefile]
Expand Down
2 changes: 2 additions & 0 deletions appveyor.yml
Expand Up @@ -11,6 +11,8 @@ environment:
- nodejs_version: 5
- nodejs_version: 6
- nodejs_version: 7
- nodejs_version: 8
- nodejs_version: 9

install:
# Get the latest stable version of Node.js
Expand Down
17 changes: 10 additions & 7 deletions circle.yml
@@ -1,11 +1,14 @@
test:
override:
- nvm install 0.10.48 && npm run test-only
- nvm install 0.11.16 && npm run test-only
- nvm install 0.12.18 && npm run test-only
- nvm install 4.7.2 && npm run test
- nvm install 4.8.7 && npm run test
- nvm install 5.12.0 && npm run test
- nvm install 6.9.4 && npm run test
- nvm install 7.4.0 && npm run test
- nvm install 6.13.0 && npm run test
- nvm install 7.10.1 && npm run test
- nvm install 8.9.4 && npm run test
post:
- chmod +x ./bin/codacy-coverage.js && cat ./coverage/lcov.info | node ./bin/codacy-coverage.js
- nvm install 9.6.1
- nvm alias default v9.6.1
- nvm use default
- npm run test-all
- chmod +x ./bin/codacy-coverage.js
- cat ./coverage/lcov.info | node ./bin/codacy-coverage.js
9 changes: 7 additions & 2 deletions package.json
Expand Up @@ -27,6 +27,9 @@
"bin": {
"codacy-coverage": "./bin/codacy-coverage.js"
},
"engines": {
"node": ">= 4.0.0"
},
"dependencies": {
"bluebird": "^3.5.x",
"commander": "^2.x",
Expand All @@ -49,7 +52,9 @@
"eslint": "^4.x"
},
"scripts": {
"test": "istanbul cover node_modules/mocha/bin/_mocha -- --check-leaks --timeout 30000 --reporter spec test/ && eslint . && nsp check",
"test-only": "istanbul cover node_modules/mocha/bin/_mocha -- --check-leaks --timeout 30000 --reporter spec test/ && nsp check"
"lint-style": "eslint .",
"lint-dependencies": "nsp check",
"test": "istanbul cover node_modules/mocha/bin/_mocha -- --check-leaks --timeout 30000 --reporter spec test/",
"test-all": "npm run lint-style && npm run lint-dependencies && npm run test"
}
}

0 comments on commit 546d90b

Please sign in to comment.