kiss: use GitHub CI

This commit is contained in:
Dylan Araps 2019-08-23 10:24:55 +00:00
parent 9b12b151a0
commit 49c68bb565
3 changed files with 14 additions and 11 deletions

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

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

View File

@ -1,10 +0,0 @@
language: bash
install:
# Install a custom version of shellcheck instead of Travis CI's default
- scversion=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 kiss

2
kiss
View File

@ -1051,7 +1051,7 @@ args() {
pkg_list "$pkg" >/dev/null ||
die "[$pkg] Not installed"
pkg_remove "$pkg" check
pkg_remove "$pkg" "${KISS_FORCE:-check}"
done
;;