root / HServer / 00.Server / 00.Program / node_modules / npm / .travis.yml
이력 | 보기 | 이력해설 | 다운로드 (1.27 KB)
| 1 |
sudo: false |
|---|---|
| 2 |
# need to declare the language as well as the matrix below
|
| 3 |
language: 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
|
| 7 |
matrix:
|
| 8 |
include:
|
| 9 |
# LTS is our most important target
|
| 10 |
- node_js: "6"
|
| 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: "4"
|
| 19 |
env: DEPLOY_VERSION=testing |
| 20 |
- node_js: "7"
|
| 21 |
env: DEPLOY_VERSION=testing |
| 22 |
# then master
|
| 23 |
- node_js: "8"
|
| 24 |
env: DEPLOY_VERSION=testing |
| 25 |
script:
|
| 26 |
- "standard"
|
| 27 |
- "node . run tap -- \"test/tap/*.js\" \"test/broken-under-nyc/*.js\""
|
| 28 |
before_install:
|
| 29 |
# required by test/tap/registry.js
|
| 30 |
- "mkdir -p /var/run/couchdb"
|
| 31 |
notifications:
|
| 32 |
slack: npm-inc:kRqQjto7YbINqHPb1X6nS3g8 |
| 33 |
cache:
|
| 34 |
directories:
|
| 35 |
- node_modules/.cache
|
| 36 |
install:
|
| 37 |
- "node . install"
|
| 38 |
script:
|
| 39 |
- "node . run tap -- \"test/tap/*.js\" \"test/broken-under-nyc/*.js\""
|