aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2019-08-23 10:24:55 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2019-08-23 10:24:55 +0000
commit87f09fecfa2b69d3e755915f90a3960bc2a2efb9 (patch)
tree4a2ecbc93eb5155783ac65c7e83094415141740a
parent86bc5f598c14a5660b6ac18d5e2fc535633c3749 (diff)
downloadcpt-87f09fecfa2b69d3e755915f90a3960bc2a2efb9.tar.gz
kiss: use GitHub CI
FossilOrigin-Name: c4cdd402fb4d73b5307ea76f79fa9fb9676c6db6134cafdb632da6329d5bb384
-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
;;