From bfbfc428a21426717949f42a8c77c9d1f82fdadb Mon Sep 17 00:00:00 2001 From: Christopher Horrell Date: Tue, 15 May 2018 12:24:15 -0400 Subject: [PATCH 1/2] Use LTS version of Node.js for doctoc nvm defaults to v0.10 --- .travis.yml | 3 +++ travis.yml.template | 2 ++ 2 files changed, 5 insertions(+) diff --git a/.travis.yml b/.travis.yml index 147d917937..9d88f20a85 100644 --- a/.travis.yml +++ b/.travis.yml @@ -37,6 +37,8 @@ jobs: env: - TEST: Doc Toc Check language: node_js + node_js: + - lts/* install: npm i -g doctoc script: - cp README.md README.md.tmp && @@ -166,3 +168,4 @@ jobs: env: - NODE_VERSION: "chakracore/8" - VARIANT: "default" + diff --git a/travis.yml.template b/travis.yml.template index 74602c461f..e67bc1d0f7 100644 --- a/travis.yml.template +++ b/travis.yml.template @@ -35,6 +35,8 @@ jobs: env: - TEST: Doc Toc Check language: node_js + node_js: + - lts/* install: npm i -g doctoc script: - cp README.md README.md.tmp && From 7c2301df9be227428e5d3578e52ecc2c91760288 Mon Sep 17 00:00:00 2001 From: Christopher Horrell Date: Tue, 15 May 2018 12:39:44 -0400 Subject: [PATCH 2/2] Drop extra new line --- .travis.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 9d88f20a85..d29dba4120 100644 --- a/.travis.yml +++ b/.travis.yml @@ -168,4 +168,3 @@ jobs: env: - NODE_VERSION: "chakracore/8" - VARIANT: "default" -