forked from jgsqware/clairctl
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
24 lines (21 loc) · 698 Bytes
/
.travis.yml
File metadata and controls
24 lines (21 loc) · 698 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
language: go
go:
- 1.8
install:
- go get -v github.com/Masterminds/glide
- cd $GOPATH/src/github.com/Masterminds/glide && git checkout tags/v0.12.3 && go install && cd -
- glide install -v
- go get -u github.com/jteeuwen/go-bindata/...
addons:
artifacts:
paths:
- out/clairctl-darwin-386
- out/clairctl-darwin-amd64
- out/clairctl-linux-386
- out/clairctl-linux-amd64
target_paths: latest
working_dir: out
script:
- go generate ./clair
- go get github.com/mitchellh/gox
- gox -os="linux" -os="darwin" -arch="amd64 386" -output="out/{{.Dir}}-{{.OS}}-{{.Arch}}" -ldflags "-X github.com/ContinuousSecurityTooling/clairctl/cmd.version=$(cat VERSION)"