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:
parent
8e0f961576
commit
6cb23dc489
@ -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
2
Vagrantfile
vendored
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user