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)