travis CI: use the latest go version

This commit is contained in:
mhchia 2020-02-26 16:21:05 +08:00
parent 1af12ddf43
commit ec8c10965d
No known key found for this signature in database
GPG Key ID: 389EFBEA1362589A

View File

@ -16,11 +16,11 @@ matrix:
env: TOXENV=docs env: TOXENV=docs
- python: 3.7 - python: 3.7
dist: xenial dist: xenial
env: TOXENV=py37-interop env: TOXENV=py37-interop GOBINPKG=go1.13.8.linux-amd64.tar.gz
sudo: true sudo: true
before_install: before_install:
- wget https://dl.google.com/go/go1.12.6.linux-amd64.tar.gz - wget https://dl.google.com/go/$GOBINPKG
- sudo tar -C /usr/local -xzf go1.12.6.linux-amd64.tar.gz - sudo tar -C /usr/local -xzf $GOBINPKG
- export GOPATH=$HOME/go - export GOPATH=$HOME/go
- export GOROOT=/usr/local/go - export GOROOT=/usr/local/go
- export PATH=$GOROOT/bin:$GOPATH/bin:$PATH - export PATH=$GOROOT/bin:$GOPATH/bin:$PATH