Skip to content

Commit

Permalink
build everything in the container
Browse files Browse the repository at this point in the history
  • Loading branch information
Achille Roussel committed Mar 7, 2017
1 parent 63336c1 commit c4dbaf9
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ machine:
- curl -sSL https://s3.amazonaws.com/circle-downloads/install-circleci-docker.sh | bash -s -- 1.10.0
services:
- docker
environment:
GODIR: /go/src/github.com/${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME}

dependencies:
override:
Expand All @@ -26,10 +24,7 @@ test:
--workdir /go/src/github.com/${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME}
segment/golang:latest
go.test='govendor test -v -cover +local'
- ln -s . ${GODIR}
- cd ${GODIR} && mkdir -p ./build
- cd ${GODIR} && go build -o ./build/nsq-to-nsq ./cmd/nsq-to-nsq
- cd ${GODIR} && go build -o ./build/nsqlookup-proxy ./cmd/nsqlookup-proxy
go.build='mkdir -p build && cd build && go build ../cmd/nsq-to-nsq && go build ../cmd/nsqlookup-proxy'
- docker build -t segment/nsq .

deployment:
Expand Down

0 comments on commit c4dbaf9

Please sign in to comment.