From 9d8eb05258eea62aca6f81ca45ba3066b5a878f8 Mon Sep 17 00:00:00 2001 From: tidwall Date: Mon, 18 Nov 2019 10:56:41 -0700 Subject: [PATCH] Update travis ci test and push --- Makefile | 2 ++ scripts/test.sh | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/Makefile b/Makefile index c3d5d206..e70fd22f 100644 --- a/Makefile +++ b/Makefile @@ -44,3 +44,5 @@ uninstall: rm -f /usr/local/bin/tile38-cli rm -f /usr/local/bin/tile38-benchmark +travis-docker-push: tile38-server tile38-cli tile38-benchmark + @./scripts/travis-docker-push.sh diff --git a/scripts/test.sh b/scripts/test.sh index 3ba7334a..e6375c3a 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -3,5 +3,9 @@ set -e cd $(dirname "${BASH_SOURCE[0]}")/.. +export CGO_ENABLED=0 +export GO111MODULE=on +export GOFLAGS=-mod=vendor + cd tests && go test && cd .. go test $(go list ./... | grep -v /vendor/ | grep -v /tests)