Skip to content

Commit 66f64f1

Browse files
Added new Travis CI tasks to the travis config template
1 parent 42eae25 commit 66f64f1

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

travis.yml.template

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,17 @@ stages:
2020

2121
jobs:
2222
include:
23+
- stage: Test
24+
env:
25+
- TEST: Editor Config check
26+
language: node_js
27+
node_js:
28+
- lts/*
29+
install:
30+
- npm i -g eclint
31+
script:
32+
- eclint check
33+
2334
- stage: Test
2435
env:
2536
- TEST: Doc Toc Check
@@ -30,6 +41,14 @@ jobs:
3041
doctoc --title='## Table of Contents' --github README.md &&
3142
diff -q README.md README.md.tmp
3243

44+
- stage: Test
45+
env:
46+
- TEST: shfmt check
47+
script:
48+
- docker run -it --rm -v "$(pwd)":/sh -w /sh jamesmstone/shfmt -i 2 -l -w -ci .
49+
- git diff --color
50+
- git diff --stat=220 --color --exit-code
51+
3352
- stage: Test
3453
env:
3554
- TEST: Shell Check

0 commit comments

Comments
 (0)