forked from nodejs/docker-node
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
42 lines (36 loc) · 835 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
dist: trusty
sudo: required
language: node_js
node_js:
- lts/*
services:
- docker
addons:
apt:
packages:
- docker-ce
script:
- if [ "true" = "${SHELLCHECK-}" ]; then shellcheck *.sh ; fi
- if [ -n "${NODE_VERSION-}" ]; then ./test-build.sh $NODE_VERSION ; fi
- if [ "true" = "${DOCTOCCHECK-}" ]; then
npm i -g doctoc &&
cp README.md README.md.tmp &&
doctoc --title='## Table of Contents' --github README.md &&
diff -q README.md README.md.tmp;
fi
env:
- DOCTOCCHECK: true
- NODE_VERSION: '4'
- NODE_VERSION: '6'
- NODE_VERSION: '8'
- NODE_VERSION: '9'
- NODE_VERSION: 'chakracore/8'
matrix:
include:
env: SHELLCHECK=true
addons:
apt:
sources:
- debian-sid
packages:
- shellcheck