From 2a692c48b05952f4b602354d03b142ccf2d67547 Mon Sep 17 00:00:00 2001 From: Mikolaj Pawlikowski Date: Fri, 21 Dec 2018 18:34:13 +0100 Subject: [PATCH] Update travis to run locally, and from both docker builders Signed-off-by: Mikolaj Pawlikowski --- .travis.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index becc47f..16de5d9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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