@@ -7,25 +7,42 @@ language: node_js
7
7
matrix :
8
8
include :
9
9
# LTS is our most important target
10
- - node_js : " 4 "
10
+ - node_js : " 6 "
11
11
# DEPLOY_VERSION is used to set the couchapp setup mode for test/tap/registry.js
12
12
# only gather coverage info for LTS
13
13
env : DEPLOY_VERSION=testing COVERALLS_REPO_TOKEN="$COVERALLS_OPTIONAL_TOKEN"
14
- # next LTS and master is next most important
15
- - node_js : " 6"
16
- env : DEPLOY_VERSION=testing
17
- # still in LTS maintenance until fall 2016 (also still in wide use)
18
- - node_js : " 0.10"
19
- env : DEPLOY_VERSION=testing
20
- # will be unsupported as soon as 6 becomes LTS and 7 released
21
- - node_js : " 5"
14
+ script :
15
+ - " node . run tap-cover -- \" test/tap/*.js\" "
16
+ - " unset COVERALLS_REPO_TOKEN ; node . run tap -- \" test/slow/*.js\" \" test/broken-under-*/*.js\" "
17
+ # previous LTS is next most important
18
+ - node_js : " 4"
22
19
env : DEPLOY_VERSION=testing
23
- # technically in LTS / distros, unbeloved
24
- - node_js : " 0.12 "
20
+ # then master
21
+ - node_js : " 7 "
25
22
env : DEPLOY_VERSION=testing
26
23
before_install :
27
- - " node . install -g ."
28
24
# required by test/tap/registry.js
29
25
- " mkdir -p /var/run/couchdb"
30
26
notifications :
31
27
slack : npm-inc:kRqQjto7YbINqHPb1X6nS3g8
28
+ cache :
29
+ directories :
30
+ - $HOME/.npm
31
+ - node_modules/.bin
32
+ - node_modules/deep-equal
33
+ - node_modules/marked
34
+ - node_modules/marked-man
35
+ - node_modules/npm-registry-couchapp
36
+ - node_modules/npm-registry-mock
37
+ - node_modules/require-inject
38
+ - node_modules/sprintf-js
39
+ - node_modules/standard
40
+ - node_modules/tacks
41
+ - node_modules/tap
42
+ install :
43
+ - " node . prune"
44
+ - " node . rebuild --depth=0"
45
+ - " node . install --ignore-scripts"
46
+ - " make -j4 doc"
47
+ script :
48
+ - " node . run tap -- \" test/tap/*.js\" \" test/slow/*.js\" \" test/broken-under-nyc/*.js\" "
0 commit comments