Skip to content

Commit

Permalink
Cross-compiled builds in CircleCI
Browse files Browse the repository at this point in the history
Signed-off-by: Brian DeHamer <[email protected]>
  • Loading branch information
alexwelch authored and bdehamer committed Jul 10, 2015
1 parent d517aba commit c7b7a76
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ machine:
GOPATH: /home/ubuntu/.go_workspace
PKG_NAME: github.com/CenturyLinkLabs/zodiac

general:
artifacts:
- zodiac

checkout:
post:
- mkdir -p $(dirname $GOPATH/src/$PKG_NAME)
Expand All @@ -20,7 +16,6 @@ dependencies:
- curl -L https://github.com/docker/compose/releases/download/1.3.0/docker-compose-`uname -s`-`uname -m` > /home/ubuntu/.go_workspace/bin/docker-compose

- chmod +x /home/ubuntu/.go_workspace/bin/docker-compose
- docker pull centurylink/golang-builder:latest
- go get github.com/tools/godep

test:
Expand All @@ -31,4 +26,6 @@ deployment:
qa:
branch: master
commands:
- docker run -v $(pwd):/src centurylink/golang-builder:latest
- docker pull centurylink/golang-builder-cross:latest
- docker run -v $(pwd):/src centurylink/golang-builder-cross:latest
- mv ./zodiac-* $CIRCLE_ARTIFACTS

0 comments on commit c7b7a76

Please sign in to comment.