From 05688e56f4017eb1c394a623efbc36ae201eb6f1 Mon Sep 17 00:00:00 2001 From: Filippo Valsorda Date: Thu, 21 Dec 2017 13:48:43 +0100 Subject: [PATCH] tris: make Travis-CI use Go 1.9 --- .travis.yml | 7 +------ _dev/tris-testclient/build.sh | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 35adfed..77d4009 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,7 @@ services: - docker go: - - 1.7 + - 1.9.x env: - MODE=interop CLIENT=boring SERVER=boring @@ -38,8 +38,3 @@ script: after_script: - if [ "$MODE" = "interop" ]; then docker ps -a; docker logs tris-localserver; fi - -cache: - directories: - - _dev/GOROOT - - _dev/go diff --git a/_dev/tris-testclient/build.sh b/_dev/tris-testclient/build.sh index b6d2e6a..5352533 100755 --- a/_dev/tris-testclient/build.sh +++ b/_dev/tris-testclient/build.sh @@ -1,5 +1,5 @@ #!/bin/sh set -e cd "$(dirname "$0")" -GOOS=linux ../go.sh build -v -i . +CGO_ENABLED=0 GOOS=linux ../go.sh build -v -i . docker build -t tris-testclient .