From 67771f632eb3be97c8d69e9c6ae216aa83a354fb Mon Sep 17 00:00:00 2001 From: Micah Abbott Date: Thu, 8 Nov 2018 14:40:51 -0500 Subject: [PATCH] enable Travis CI This just does `shellcheck` --- .travis.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000000..eea066b91e --- /dev/null +++ b/.travis.yml @@ -0,0 +1,13 @@ +sudo: required + +language: sh + +services: + - docker + +before_script: + - docker pull docker.io/koalaman/shellcheck + +script: + # shellcheck validate + - docker run -v "$PWD:/mnt:ro" docker.io/koalaman/shellcheck -x $(find . -path ./mantle -prune -and -path ./ostree-releng-scripts -prune -o -type f -exec grep -l '^#!.*bash' {} \;)