1
0
mirror of https://github.com/aquasecurity/kube-bench.git synced 2024-11-16 04:49:19 +00:00
kube-bench/.travis.yml

19 lines
369 B
YAML
Raw Normal View History

2017-08-03 14:53:49 +00:00
sudo: true
services:
- docker
2017-06-19 21:17:52 +00:00
language: go
2017-08-03 14:53:49 +00:00
2017-06-19 21:14:29 +00:00
install:
- go get github.com/aquasecurity/kube-bench
2017-06-19 21:14:29 +00:00
script:
- go test ./...
- go build -o kube-bench .
2017-08-03 14:53:49 +00:00
after_success:
- if [ "$TRAVIS_BRANCH" == "master" ]; then
docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD";
docker build -t aquasec/kube-bench .;
docker push aquasec/kube-bench;
fi