travis: bump golang versions

- test against Go 1.10
- stop testing against Go 1.8

since Go language maintainers no longer support 1.8
see: https://golang.org/doc/devel/release.html#policy
This commit is contained in:
Gabe Rosenhouse 2018-02-17 18:39:42 -08:00 committed by Gabriel Rosenhouse
parent 8e0f961576
commit 6cb23dc489
2 changed files with 2 additions and 2 deletions

View File

@ -3,8 +3,8 @@ sudo: required
dist: trusty dist: trusty
go: go:
- 1.8.x
- 1.9.x - 1.9.x
- 1.10.x
env: env:
global: global:

2
Vagrantfile vendored
View File

@ -12,7 +12,7 @@ Vagrant.configure(2) do |config|
apt-get update -y || (sleep 40 && apt-get update -y) apt-get update -y || (sleep 40 && apt-get update -y)
apt-get install -y git apt-get install -y git
wget -qO- https://storage.googleapis.com/golang/go1.9.1.linux-amd64.tar.gz | tar -C /usr/local -xz wget -qO- https://storage.googleapis.com/golang/go1.10.linux-amd64.tar.gz | tar -C /usr/local -xz
echo 'export GOPATH=/go' >> /root/.bashrc echo 'export GOPATH=/go' >> /root/.bashrc
echo 'export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin' >> /root/.bashrc echo 'export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin' >> /root/.bashrc