From 9810bafabe9f0f38540174283d0f0616271a8560 Mon Sep 17 00:00:00 2001 From: Liz Rice Date: Fri, 11 May 2018 19:49:11 +0100 Subject: [PATCH] Adding a test install to travis job --- .travis.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.travis.yml b/.travis.yml index 9528ceb..16d33a5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,11 @@ --- language: go +sudo: required + +services: + - docker + notifications: email: false @@ -16,6 +21,10 @@ install: script: - go test ./... + - docker build --tag kube-bench . + - docker run -v `pwd`:/host kube-bench install + - test -d cfg + - test -f kube-bench after_success: - test -n "$TRAVIS_TAG" && curl -sL https://git.io/goreleaser | bash