Skip to content

Commit e6b8c08

Browse files
committed
BREAKING: Drop builds for Node 4, 5, & 7; add OSX builds & Node 9
1 parent bacf504 commit e6b8c08

File tree

3 files changed

+16
-13
lines changed

3 files changed

+16
-13
lines changed

.travis.yml

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,21 @@
11
sudo: false
22
language: node_js
3+
os:
4+
- linux
5+
- osx
6+
node_js:
7+
- 6
8+
- 8
9+
- 9
10+
env: TEST_SUITE=unit
311
matrix:
12+
exclude:
13+
- os: linux
14+
node_js: 8
415
include:
5-
- node_js: "4"
6-
- node_js: "5"
7-
# We run both lint and unit on Node 6
8-
- node_js: "6"
9-
env: TEST_SUITE=test
10-
- node_js: "7"
11-
# We run coverage on Node 8
12-
- node_js: "8"
13-
env: TEST_SUITE=coverage
14-
env:
15-
- TEST_SUITE=unit
16+
- os: linux
17+
node_js: 8
18+
env: TEST_SUITE=full-ci
1619
script: npm run-script $TEST_SUITE
1720
after_success:
18-
- if [ $TEST_SUITE = coverage ]; then npm run coveralls; fi
21+
- if [ $TEST_SUITE = full-ci ]; then npm run coveralls; fi

appveyor.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
environment:
33
matrix:
44
# node.js
5-
- nodejs_version: "4"
65
- nodejs_version: "6"
76
- nodejs_version: "8"
87

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
},
5555
"main": "./lib/index.js",
5656
"scripts": {
57+
"full-ci": "npm run lint && npm run coverage",
5758
"coverage": "istanbul cover -i 'lib/**' -x '**/__tests__/**' test.js",
5859
"coveralls": "coveralls < coverage/lcov.info",
5960
"lint": "standard && standard-markdown",

0 commit comments

Comments
 (0)