From 5c5e3d1bf909974cf885f42a7719c41461b0316d Mon Sep 17 00:00:00 2001 From: Gereon Vey Date: Thu, 6 Apr 2023 18:21:53 +0200 Subject: [PATCH] fix CI badges and remove obsolete travis file --- .github/workflows/shellcheck.yml | 2 ++ .travis.yml | 7 ------- README.md | 5 ++++- 3 files changed, 6 insertions(+), 8 deletions(-) delete mode 100644 .travis.yml diff --git a/.github/workflows/shellcheck.yml b/.github/workflows/shellcheck.yml index 299cd66..5bc2370 100644 --- a/.github/workflows/shellcheck.yml +++ b/.github/workflows/shellcheck.yml @@ -5,6 +5,8 @@ on: # Triggers the workflow on pull request events but only for the master and sle-12 branch pull_request: branches: [ master, sle-12 ] + push: + branches: [ master, sle-12 ] jobs: # This workflow contains a single job called "shellcheck" diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 35bd961..0000000 --- a/.travis.yml +++ /dev/null @@ -1,7 +0,0 @@ -language: bash -sudo: false -script: - - find . -type f -exec awk ' /^#!.*bash/{print FILENAME} {nextfile}' {} + | xargs shellcheck -s bash - #- ./ci/build.sh -notifications: -email: true diff --git a/README.md b/README.md index a170376..5c6ad3b 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,7 @@ -[![shellcheck](https://github.com/SUSE/sapconf/actions/workflows/shellcheck.yml/badge.svg)](https://github.com/SUSE/sapconf/actions/workflows/shellcheck.yml) + +| master | sle-12 | +| ------ | ------ | +| [![shellcheck status](https://github.com/SUSE/sapconf/actions/workflows/shellcheck.yml/badge.svg)](https://github.com/SUSE/sapconf/actions/workflows/shellcheck.yml) | [![shellcheck status](https://github.com/SUSE/sapconf/actions/workflows/shellcheck.yml/badge.svg?branch=sle-12)](https://github.com/SUSE/sapconf/actions/workflows/shellcheck.yml) | # sapconf The utility adjusts operating system parameters, such as kernel tuning settings and resource limits, to allow running various SAP solutions at satisfactory performance.