forked from giantswarm/microkit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcircle.yml
More file actions
22 lines (20 loc) · 721 Bytes
/
Copy pathcircle.yml
File metadata and controls
22 lines (20 loc) · 721 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
machine:
services:
- docker
environment:
CGO_ENABLED: "0"
GOOS: "linux"
GOARCH: "amd64"
GOPATH: "$HOME/go"
GS_WD: "$HOME/go/src/github.com/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME"
dependencies:
override:
- sudo add-apt-repository ppa:masterminds/glide -y
- sudo apt-get update
- sudo apt-get install glide -y
- mkdir -p $HOME/go/src/github.com/$CIRCLE_PROJECT_USERNAME
- cp -rf $HOME/$CIRCLE_PROJECT_REPONAME $HOME/go/src/github.com/$CIRCLE_PROJECT_USERNAME
test:
override:
- cd $GS_WD && go test $(glide novendor)
- cd $GS_WD && go build -a -v -tags netgo -ldflags "-w" $(glide novendor)