Update travis to run locally, and from both docker builders

Signed-off-by: Mikolaj Pawlikowski <mikolaj@pawlikowski.pl>
This commit is contained in:
Mikolaj Pawlikowski
2018-12-21 18:34:13 +01:00
committed by GitHub
parent ab1d7558e7
commit 2a692c48b0
+13 -2
View File
@@ -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