tris: make Travis-CI use Go 1.9

This commit is contained in:
Filippo Valsorda 2017-12-21 13:48:43 +01:00
parent 844036d474
commit 05688e56f4
2 changed files with 2 additions and 7 deletions

View File

@ -5,7 +5,7 @@ services:
- docker - docker
go: go:
- 1.7 - 1.9.x
env: env:
- MODE=interop CLIENT=boring SERVER=boring - MODE=interop CLIENT=boring SERVER=boring
@ -38,8 +38,3 @@ script:
after_script: after_script:
- if [ "$MODE" = "interop" ]; then docker ps -a; docker logs tris-localserver; fi - if [ "$MODE" = "interop" ]; then docker ps -a; docker logs tris-localserver; fi
cache:
directories:
- _dev/GOROOT
- _dev/go

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
set -e set -e
cd "$(dirname "$0")" 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 . docker build -t tris-testclient .