mirror of
https://github.com/aquasecurity/kube-bench.git
synced 2024-12-18 20:58:10 +00:00
Merge pull request #124 from aquasecurity/travis-docker
Adding a test install to travis job
This commit is contained in:
commit
056da1b28d
@ -1,6 +1,11 @@
|
|||||||
---
|
---
|
||||||
language: go
|
language: go
|
||||||
|
|
||||||
|
sudo: required
|
||||||
|
|
||||||
|
services:
|
||||||
|
- docker
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
email: false
|
email: false
|
||||||
|
|
||||||
@ -16,6 +21,10 @@ install:
|
|||||||
|
|
||||||
script:
|
script:
|
||||||
- go test ./...
|
- go test ./...
|
||||||
|
- docker build --tag kube-bench .
|
||||||
|
- docker run -v `pwd`:/host kube-bench install
|
||||||
|
- test -d cfg
|
||||||
|
- test -f kube-bench
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- test -n "$TRAVIS_TAG" && curl -sL https://git.io/goreleaser | bash
|
- test -n "$TRAVIS_TAG" && curl -sL https://git.io/goreleaser | bash
|
||||||
|
Loading…
Reference in New Issue
Block a user