.travis.yml
955 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
version: ~> 1.0
language: node_js
os:
- linux
cache:
directories:
- "$HOME/.npm"
- "$(nvm cache dir)"
- "$(nvm_version_path $(nvm_version_remote 0.4))"
- "$(nvm_version_path $(nvm_version_remote 0.6))"
- "$(nvm_version_path $(nvm_version_remote 0.10))"
import:
- ljharb/travis-ci:node/all.yml
- ljharb/travis-ci:node/pretest.yml
- ljharb/travis-ci:node/posttest.yml
script:
- 'if [ -n "${COVERAGE-}" ]; then npm run coverage && bash <(curl -s https://codecov.io/bash) -f coverage/*.json; fi'
- 'if [ -n "${SES-}" ]; then node test/ses-compat; fi'
matrix:
include:
- node_js: "8"
env: COVERAGE=true
- node_js: "4"
env: COVERAGE=true
- node_js: "0.12"
env: COVERAGE=true
- node_js: "0.8"
env: COVERAGE=true
- node_js: "lts/*"
env: SES=true
exclude:
- node_js: "0.12"
env: TEST=true
- node_js: "0.8"
env: TEST=true
allow_failures:
- env: SES=true