Add specific build setup for CircleCI

This commit is contained in:
Jakob Borg
2015-09-02 14:02:36 +02:00
parent 6393f69138
commit 70b37dc469
2 changed files with 58 additions and 0 deletions

25
circle.yml Normal file
View File

@@ -0,0 +1,25 @@
machine:
environment:
GOROOT: ${HOME}/go1.5
GOARM: 5
GO386: 387
PATH: ${HOME}/go1.5/bin:${PATH}
dependencies:
cache_directories:
- ~/go1.5
override:
# Make sure our desired go version is installed
- ./script/circle-installgo.sh
- go version
test:
override:
# First install latest versions of all dependencies
- go get -v -t -d ./...
# Build the binaries with those
- go build -v ./cmd/...
# And run the tests
- go test -v -short ./...
# Build all packages, using the vendored dependencies.
- ./build.sh all