bump travis and vagrantfile to go 1.11
This commit is contained in:
parent
b93d284d18
commit
ee57f675ad
@ -3,8 +3,8 @@ sudo: required
|
|||||||
dist: trusty
|
dist: trusty
|
||||||
|
|
||||||
go:
|
go:
|
||||||
- 1.9.x
|
|
||||||
- 1.10.x
|
- 1.10.x
|
||||||
|
- 1.11.x
|
||||||
|
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
|
2
Vagrantfile
vendored
2
Vagrantfile
vendored
@ -10,7 +10,7 @@ Vagrant.configure(2) do |config|
|
|||||||
set -e -x -u
|
set -e -x -u
|
||||||
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 gcc-multilib gcc-mingw-w64
|
apt-get install -y git gcc-multilib gcc-mingw-w64
|
||||||
wget -qO- https://storage.googleapis.com/golang/go1.10.linux-amd64.tar.gz | tar -C /usr/local -xz
|
wget -qO- https://storage.googleapis.com/golang/go1.11.1.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
|
||||||
cd /go/src/github.com/containernetworking/plugins
|
cd /go/src/github.com/containernetworking/plugins
|
||||||
|
Loading…
x
Reference in New Issue
Block a user