Skip to content

Commit 7478dd1

Browse files
Add build, ShellCheck, doctoc & jsonlint test on Travis CI
1 parent cae9bb2 commit 7478dd1

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.travis.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,19 @@ jobs:
1919
before_install:
2020
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.1.0
2121
- export PATH="$HOME/.yarn/bin:$PATH"
22+
- env: task=ShellCheck
23+
script:
24+
- shellcheck bin/*
25+
language: generic
26+
- env: task=doctoc
27+
install: npm install doctoc
28+
script:
29+
- cp README.md README.md.orig
30+
- npm run doctoc
31+
- diff -q README.md README.md.orig
32+
language: generic
33+
- env: task=json-lint
34+
install: npm install jsonlint
35+
script:
36+
- npm run jsonlint
37+
language: generic

0 commit comments

Comments
 (0)