File tree Expand file tree Collapse file tree 2 files changed +28
-14
lines changed Expand file tree Collapse file tree 2 files changed +28
-14
lines changed Original file line number Diff line number Diff line change @@ -3,20 +3,30 @@ sudo: required
3
3
services :
4
4
- docker
5
5
6
- addons :
7
- apt :
8
- sources :
9
- - debian-sid
10
- packages :
11
- - shellcheck
12
-
13
6
script :
14
- - shellcheck *.sh
15
- - ./test-build.sh $NODE_VERSION
7
+ - if [ "true" = "${SHELLCHECK-}" ]; then shellcheck *.sh ; fi
8
+ - if [ -n "${NODE_VERSION-}" ]; then ./test-build.sh $NODE_VERSION ; fi
9
+ - if [ "true" = "${DOCTOCCHECK-}" ]; then
10
+ nvm install node &&
11
+ npm i -g doctoc &&
12
+ cp README.md README.md.tmp &&
13
+ doctoc --title='## Table of Contents' --github README.md &&
14
+ diff -q README.md README.md.tmp;
15
+ fi
16
16
17
17
env :
18
- matrix :
19
- - NODE_VERSION : ' 4.8'
20
- - NODE_VERSION : ' 6.11'
21
- - NODE_VERSION : ' 7.10'
22
- - NODE_VERSION : ' 8.1'
18
+ - DOCTOCCHECK : true
19
+ - NODE_VERSION : ' 4.8'
20
+ - NODE_VERSION : ' 6.11'
21
+ - NODE_VERSION : ' 7.10'
22
+ - NODE_VERSION : ' 8.1'
23
+
24
+ matrix :
25
+ include :
26
+ env : SHELLCHECK=true
27
+ addons :
28
+ apt :
29
+ sources :
30
+ - debian-sid
31
+ packages :
32
+ - shellcheck
Original file line number Diff line number Diff line change 7
7
8
8
The official Node.js docker image, made with love by the node community.
9
9
10
+ <!-- START doctoc generated TOC please keep comment here to allow auto update -->
11
+ <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
10
12
## Table of Contents
11
13
12
14
- [ What is Node.js?] ( #what-is-nodejs )
@@ -30,6 +32,8 @@ The official Node.js docker image, made with love by the node community.
30
32
- [ Docker Working Group Members] ( #docker-working-group-members )
31
33
- [ Docker Working Group Collaborators] ( #docker-working-group-collaborators )
32
34
35
+ <!-- END doctoc generated TOC please keep comment here to allow auto update -->
36
+
33
37
## What is Node.js?
34
38
35
39
Node.js is a platform built on Chrome's JavaScript runtime for easily building
You can’t perform that action at this time.
0 commit comments