-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathcircle.yml
31 lines (26 loc) · 865 Bytes
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
machine:
services:
- docker
environment:
GOPATH: /home/ubuntu/.go_workspace
PKG_NAME: github.com/CenturyLinkLabs/zodiac
checkout:
post:
- mkdir -p $(dirname $GOPATH/src/$PKG_NAME)
- ln -sf ~/$CIRCLE_PROJECT_REPONAME $GOPATH/src/$PKG_NAME
dependencies:
override:
- mkdir -p /home/ubuntu/.go_workspace/bin
- curl -L https://github.com/docker/compose/releases/download/1.4.0/docker-compose-`uname -s`-`uname -m` > /home/ubuntu/.go_workspace/bin/docker-compose
- chmod +x /home/ubuntu/.go_workspace/bin/docker-compose
- go get github.com/tools/godep
test:
override:
- godep go test ./...
deployment:
qa:
branch: master
commands:
- docker pull centurylink/golang-builder-cross:latest
- docker run -v $(pwd):/src centurylink/golang-builder-cross:latest
- mv ./zodiac-* $CIRCLE_ARTIFACTS