From a816032086b08ce5b5cbc76038b23f96f409498a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Mon, 4 Dec 2017 16:47:16 +0100 Subject: [PATCH 1/3] Test code quality on commits --- .travis.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..65aee05 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,16 @@ +language: bash + +sudo: false + +addons: + apt: + sources: + - debian-sid + packages: + - shellcheck + +script: + - bash -c 'shopt -s globstar; shellcheck **/*.{sh,bash}' + +matrix: + fast_finish: true From 9c06ae67abb5df42447e8f803bd079492b308084 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Tue, 5 Dec 2017 00:38:12 +0100 Subject: [PATCH 2/3] Fix Travis test Add easy-rsa/easyrsa3/easyrsa --- .travis.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 65aee05..c19917b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,7 +10,4 @@ addons: - shellcheck script: - - bash -c 'shopt -s globstar; shellcheck **/*.{sh,bash}' - -matrix: - fast_finish: true + - bash -c 'shopt -s globstar; shellcheck **/*.sh easy-rsa/easyrsa3/easyrsa' From 3ad9a2bf20f5f5162cbfc096dc10b3832c4f05f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Tue, 5 Dec 2017 00:40:39 +0100 Subject: [PATCH 3/3] Fix easyrsa path in testing (again) --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index c19917b..a854705 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,4 +10,4 @@ addons: - shellcheck script: - - bash -c 'shopt -s globstar; shellcheck **/*.sh easy-rsa/easyrsa3/easyrsa' + - bash -c 'shopt -s globstar; shellcheck **/*.sh easyrsa3/easyrsa'