mirror of
https://github.com/bloomberg/goldpinger.git
synced 2026-08-23 21:36:25 +00:00
Update travis to run locally, and from both docker builders
Signed-off-by: Mikolaj Pawlikowski <mikolaj@pawlikowski.pl>
This commit is contained in:
+13
-2
@@ -9,7 +9,18 @@ go:
|
||||
|
||||
script:
|
||||
- docker --version
|
||||
- go get -u github.com/golang/dep/cmd/dep && make vendor && make && make build
|
||||
# dep
|
||||
- go get -u github.com/golang/dep/cmd/dep
|
||||
|
||||
# build locally and run locally
|
||||
- make clean && make vendor && make && ./bin/goldpinger --help
|
||||
|
||||
# build an image and run the image
|
||||
- make clean && make build
|
||||
- docker images
|
||||
- make build-multistage
|
||||
- docker run `make version` --help
|
||||
|
||||
# build an image using the multistage builder
|
||||
- make clean && make build-multistage
|
||||
- docker images
|
||||
- docker run `make version` --help
|
||||
|
||||
Reference in New Issue
Block a user