From 66f64f16fb862bce64f65f53643c16887f121f8d Mon Sep 17 00:00:00 2001 From: Laurent Goderre Date: Tue, 15 May 2018 10:32:44 -0400 Subject: [PATCH 1/2] Added new Travis CI tasks to the travis config template --- travis.yml.template | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/travis.yml.template b/travis.yml.template index d1d087cb..74602c46 100644 --- a/travis.yml.template +++ b/travis.yml.template @@ -20,6 +20,17 @@ stages: jobs: include: + - stage: Test + env: + - TEST: Editor Config check + language: node_js + node_js: + - lts/* + install: + - npm i -g eclint + script: + - eclint check + - stage: Test env: - TEST: Doc Toc Check @@ -30,6 +41,14 @@ jobs: doctoc --title='## Table of Contents' --github README.md && diff -q README.md README.md.tmp + - stage: Test + env: + - TEST: shfmt check + script: + - docker run -it --rm -v "$(pwd)":/sh -w /sh jamesmstone/shfmt -i 2 -l -w -ci . + - git diff --color + - git diff --stat=220 --color --exit-code + - stage: Test env: - TEST: Shell Check From 1cf5b839191ad2e20b59e22ad6995e94e8196407 Mon Sep 17 00:00:00 2001 From: Laurent Goderre Date: Tue, 15 May 2018 10:33:01 -0400 Subject: [PATCH 2/2] Fixed the update script --- update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update.sh b/update.sh index 9a751a81..b045c334 100755 --- a/update.sh +++ b/update.sh @@ -37,7 +37,7 @@ function update_node_version() { fullVersion="$(curl -sSL --compressed "$baseuri" | grep '