forked from datreeio/node-datreeio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
51 lines (50 loc) · 983 Bytes
/
.travis.yml
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
45
46
47
48
49
50
51
sudo: false
dist: trusty
language: node_js
node_js:
- "4"
- "6"
- "8"
- "stable"
os:
- linux
- osx
before_install:
- if [[ `node --version` == v6* ]]; then npm install -g npm; fi
install:
- npm install --ignore-scripts
script:
- npm run test
jobs:
include:
- &integ-test
stage: integration test
install: npm install --ignore-scripts
script: npm run test-integration
node_js: "4"
os: linux
- <<: *integ-test
node_js: "4"
os: osx
- <<: *integ-test
node_js: "6"
os: linux
- <<: *integ-test
node_js: "6"
os: osx
- <<: *integ-test
node_js: "8"
os: linux
- <<: *integ-test
node_js: "8"
os: osx
- <<: *integ-test
node_js: "stable"
os: linux
- <<: *integ-test
node_js: "stable"
os: osx
- stage: npm release
if: branch = master AND type = push
node_js: "8"
script: npm run-script build && npm run semantic-release