UNPKG

1.19 kBYAMLView Raw
1sudo: false
2# need to declare the language as well as the matrix below
3language: node_js
4# having top-level `env:` adds a phantom build
5# https://github.com/travis-ci/travis-ci/issues/4681
6#env: DEPLOY_VERSION=testing
7matrix:
8 include:
9 # LTS is our most important target
10 - node_js: "8"
11 # DEPLOY_VERSION is used to set the couchapp setup mode for test/tap/registry.js
12 # only gather coverage info for LTS
13 env: DEPLOY_VERSION=testing COVERALLS_REPO_TOKEN="$COVERALLS_OPTIONAL_TOKEN"
14 script:
15 - "node . run tap-cover -- \"test/tap/*.js\""
16 - "unset COVERALLS_REPO_TOKEN ; node . run tap -- \"test/broken-under-*/*.js\""
17 # previous LTS is next most important
18 - node_js: "6"
19 env: DEPLOY_VERSION=testing
20 - node_js: "10"
21 env: DEPLOY_VERSION=testing
22 - node_js: "9"
23 env: DEPLOY_VERSION=testing
24 script:
25 - "standard"
26 - "node . run tap -- \"test/tap/*.js\" \"test/broken-under-nyc/*.js\""
27notifications:
28 slack: npm-inc:kRqQjto7YbINqHPb1X6nS3g8
29cache:
30 directories:
31 - node_modules/.cache
32install:
33 - "node . install"
34script:
35 - "node . run tap -- \"test/tap/*.js\" \"test/broken-under-nyc/*.js\""