Update travis ci test and push

This commit is contained in:
tidwall 2019-11-18 10:56:41 -07:00
parent cfc65a13f6
commit 9d8eb05258
2 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -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)