docs: update
This commit is contained in:
parent
d5dc9c8f45
commit
a5ed79486a
|
@ -0,0 +1,17 @@
|
|||
language: bash
|
||||
sudo: required
|
||||
|
||||
os:
|
||||
- linux
|
||||
|
||||
install:
|
||||
# Install a custom version of shellcheck instead of Travis CI's default
|
||||
- scversion="latest" # or "v0.4.7", or "latest"
|
||||
- wget "https://storage.googleapis.com/shellcheck/shellcheck-${scversion}.linux.x86_64.tar.xz"
|
||||
- tar --xz -xvf "shellcheck-${scversion}.linux.x86_64.tar.xz"
|
||||
- shellcheck() { "shellcheck-${scversion}/shellcheck" "$@"; }
|
||||
|
||||
script:
|
||||
- shellcheck fff -e SC2244 -e SC1090 -e SC1091
|
||||
# Check for lines longer than 80 chars.
|
||||
- if grep '.\{81\}' pash; then (exit 1); else (exit 0); fi
|
Loading…
Reference in New Issue