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 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 '