-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
44 lines (36 loc) · 966 Bytes
/
.travis.yml
File metadata and controls
44 lines (36 loc) · 966 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
39
40
41
42
43
44
language: node_js
node_js: '11'
sudo: false
git:
depth: 3
cache:
directories:
- ~/.npm # cache npm's cache
- ~/npm # cache latest npm
- node_modules
before_install: |
[[ ! -x ~/npm/node_modules/.bin/npm ]] && {
cd ~/npm && npm install npm
cd -
} || true
export PATH=~/npm/node_modules/.bin:$PATH
install: npm install --ignore-scripts
jobs:
include:
- node_js: '11'
after_success: npm start coveralls
- node_js: '10'
- node_js: '8'
- node_js: 'node'
name: 'Node.js: nightly'
env:
- NODEJS_ORG_MIRROR=https://nodejs.org/download/nightly
- NVM_NODEJS_ORG_MIRROR=https://nodejs.org/download/nightly
- node_js: 'node'
name: 'Node.js: canary'
env:
- NODEJS_ORG_MIRROR=https://nodejs.org/download/v8-canary
- NVM_NODEJS_ORG_MIRROR=https://nodejs.org/download/v8-canary
allow_failures:
- name: 'Node.js: nightly'
- name: 'Node.js: canary'