Merge pull request #607 from chorrell/travis-improvements

Travis improvements
This commit is contained in:
Christopher Horrell 2018-01-31 15:24:32 -05:00 committed by GitHub
commit 2553444c70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 1 deletions

View File

@ -1,13 +1,22 @@
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
nvm install node &&
npm i -g doctoc &&
cp README.md README.md.tmp &&
doctoc --title='## Table of Contents' --github README.md &&