Build and test using Docker
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
This commit is contained in:
@@ -1,2 +1,4 @@
|
||||
#!/bin/sh
|
||||
GOPATH=`pwd`/Godeps/_workspace:$GOPATH go build
|
||||
set -e
|
||||
docker build -t docker-machine .
|
||||
exec docker run --rm -v `pwd`:/go/src/github.com/docker/machine docker-machine gox -os="darwin linux" -parallel=5
|
||||
|
||||
@@ -1,2 +1,4 @@
|
||||
#!/bin/sh
|
||||
GOPATH=`pwd`/Godep/_workspace:$GOPATH go test -v ./...
|
||||
set -e
|
||||
docker build -t docker-machine .
|
||||
exec docker run --rm docker-machine go test -v ./...
|
||||
|
||||
Reference in New Issue
Block a user