aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/main.yml13
-rw-r--r--.travis.yml10
-rwxr-xr-xkiss2
3 files changed, 14 insertions, 11 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
new file mode 100644
index 0000000..16aedec
--- /dev/null
+++ b/.github/workflows/main.yml
@@ -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
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index f03f369..0000000
--- a/.travis.yml
+++ /dev/null
@@ -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
diff --git a/kiss b/kiss
index 7f2f740..e2cccc4 100755
--- a/kiss
+++ b/kiss
@@ -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
;;