docs: update

This commit is contained in:
Dylan Araps 2019-11-28 18:35:05 +00:00
parent 4044496836
commit f00d14d456
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
2 changed files with 9 additions and 17 deletions

9
.github/workflows/main.yml vendored Normal file
View File

@ -0,0 +1,9 @@
name: Shellcheck
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Run shellcheck.
run: shellcheck pash

View File

@ -1,17 +0,0 @@
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 pash
# Check for lines longer than 80 chars.
- if grep '.\{81\}' pash; then (exit 1); else (exit 0); fi