File tree Expand file tree Collapse file tree 3 files changed +16
-13
lines changed
Expand file tree Collapse file tree 3 files changed +16
-13
lines changed Original file line number Diff line number Diff line change 11sudo : false
22language : node_js
3+ os :
4+ - linux
5+ - osx
6+ node_js :
7+ - 6
8+ - 8
9+ - 9
10+ env : TEST_SUITE=unit
311matrix :
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
1619script : npm run-script $TEST_SUITE
1720after_success :
18- - if [ $TEST_SUITE = coverage ]; then npm run coveralls; fi
21+ - if [ $TEST_SUITE = full-ci ]; then npm run coveralls; fi
Original file line number Diff line number Diff line change 22environment :
33 matrix :
44 # node.js
5- - nodejs_version : " 4"
65 - nodejs_version : " 6"
76 - nodejs_version : " 8"
87
Original file line number Diff line number Diff line change 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" ,
You can’t perform that action at this time.
0 commit comments