forked from fh1ch/node-bacstack
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
41 lines (40 loc) · 1.09 KB
/
.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
language: "node_js"
jobs:
include:
- stage: test
node_js:
- "7"
- "6"
- "5"
- "4"
sudo: false
script:
- "npm install coveralls"
- "commitlint-travis"
- "npm run lint"
- "npm run test"
- "cat ./reports/coverage-test/lcov.info | ./node_modules/.bin/coveralls"
- "npm run integration"
- "npm run docs"
- stage: compliance
services: docker
sudo: false
before_install:
- sudo rm /usr/local/bin/docker-compose
- curl -L https://github.com/docker/compose/releases/download/1.18.0/docker-compose-`uname -s`-`uname -m` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
script:
- "docker-compose up --abort-on-container-exit --exit-code-from bacnet-client"
- stage: pages
node_js: "7"
sudo: false
script:
- "npm run docs"
deploy:
provider: pages
local_dir: ./docs
github_token: $GITHUB_API_KEY
skip_cleanup: true
on:
tags: true