From 2107a38c74f3810ae70722259d769e7d0744fe14 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Wed, 14 Mar 2018 18:04:44 +0000 Subject: [PATCH] setting up shellcheck docker image --- .travis.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 777b9789b..c16fb4e09 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,12 @@ language: bash dist: trusty sudo: required +services: + - docker + +before_install: + - docker pull koalaman/shellcheck + before_script: - curl -L "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/shunit2/shunit2-2.1.6.tgz" | tar zx @@ -35,4 +41,4 @@ script: #- bash tests/tests_jc2server.sh #- bash tests/tests_ts3server.sh - - bash tests/tests_shellcheck.sh + - docker run -v $(pwd):/scripts koalaman/shellcheckbash tests/tests_shellcheck.sh \ No newline at end of file