Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BREAKING: Drop builds for Node 4, 5, & 7; add OSX builds & Node 9 #564

Merged
merged 1 commit into from Apr 9, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
27 changes: 15 additions & 12 deletions .travis.yml
@@ -1,18 +1,21 @@
sudo: false
language: node_js
os:
- linux
- osx
node_js:
- 6
- 8
- 9
env: TEST_SUITE=unit
matrix:
exclude:
- os: linux
node_js: 8
include:
- node_js: "4"
- node_js: "5"
# We run both lint and unit on Node 6
- node_js: "6"
env: TEST_SUITE=test
- node_js: "7"
# We run coverage on Node 8
- node_js: "8"
env: TEST_SUITE=coverage
env:
- TEST_SUITE=unit
- os: linux
node_js: 8
env: TEST_SUITE=full-ci
script: npm run-script $TEST_SUITE
after_success:
- if [ $TEST_SUITE = coverage ]; then npm run coveralls; fi
- if [ $TEST_SUITE = full-ci ]; then npm run coveralls; fi
1 change: 0 additions & 1 deletion appveyor.yml
Expand Up @@ -2,7 +2,6 @@
environment:
matrix:
# node.js
- nodejs_version: "4"
- nodejs_version: "6"
- nodejs_version: "8"

Expand Down
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -54,6 +54,7 @@
},
"main": "./lib/index.js",
"scripts": {
"full-ci": "npm run lint && npm run coverage",
"coverage": "istanbul cover -i 'lib/**' -x '**/__tests__/**' test.js",
"coveralls": "coveralls < coverage/lcov.info",
"lint": "standard && standard-markdown",
Expand Down