Skip to content

Commit 67c332e

Browse files
SamuelMarkskaralabe
authored andcommitted
travis, Dockerfile, appveyor, build: bump to Go 1.11
1 parent 1f45ba9 commit 67c332e

7 files changed

Lines changed: 28 additions & 17 deletions

File tree

‎.travis.yml‎

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,22 @@ matrix:
1414
- go run build/ci.go install
1515
- go run build/ci.go test -coverage $TEST_PACKAGES
1616

17-
# These are the latest Go versions.
1817
- os: linux
1918
dist: trusty
2019
sudo: required
2120
go: 1.10.x
21+
script:
22+
- sudo modprobe fuse
23+
- sudo chmod 666 /dev/fuse
24+
- sudo chown root:$USER /etc/fuse.conf
25+
- go run build/ci.go install
26+
- go run build/ci.go test -coverage $TEST_PACKAGES
27+
28+
# These are the latest Go versions.
29+
- os: linux
30+
dist: trusty
31+
sudo: required
32+
go: 1.11.x
2233
script:
2334
- sudo modprobe fuse
2435
- sudo chmod 666 /dev/fuse
@@ -27,7 +38,7 @@ matrix:
2738
- go run build/ci.go test -coverage $TEST_PACKAGES
2839

2940
- os: osx
30-
go: 1.10.x
41+
go: 1.11.x
3142
script:
3243
- unset -f cd # workaround for https://github.com/travis-ci/travis-ci/issues/8703
3344
- go run build/ci.go install
@@ -36,7 +47,7 @@ matrix:
3647
# This builder only tests code linters on latest version of Go
3748
- os: linux
3849
dist: trusty
39-
go: 1.10.x
50+
go: 1.11.x
4051
env:
4152
- lint
4253
git:
@@ -47,7 +58,7 @@ matrix:
4758
# This builder does the Ubuntu PPA upload
4859
- os: linux
4960
dist: trusty
50-
go: 1.10.x
61+
go: 1.11.x
5162
env:
5263
- ubuntu-ppa
5364
git:
@@ -66,7 +77,7 @@ matrix:
6677
- os: linux
6778
dist: trusty
6879
sudo: required
69-
go: 1.10.x
80+
go: 1.11.x
7081
env:
7182
- azure-linux
7283
git:
@@ -100,7 +111,7 @@ matrix:
100111
dist: trusty
101112
services:
102113
- docker
103-
go: 1.10.x
114+
go: 1.11.x
104115
env:
105116
- azure-linux-mips
106117
git:
@@ -144,7 +155,7 @@ matrix:
144155
git:
145156
submodules: false # avoid cloning ethereum/tests
146157
before_install:
147-
- curl https://storage.googleapis.com/golang/go1.10.3.linux-amd64.tar.gz | tar -xz
158+
- curl https://storage.googleapis.com/golang/go1.11.linux-amd64.tar.gz | tar -xz
148159
- export PATH=`pwd`/go/bin:$PATH
149160
- export GOROOT=`pwd`/go
150161
- export GOPATH=$HOME/go
@@ -161,7 +172,7 @@ matrix:
161172

162173
# This builder does the OSX Azure, iOS CocoaPods and iOS Azure uploads
163174
- os: osx
164-
go: 1.10.x
175+
go: 1.11.x
165176
env:
166177
- azure-osx
167178
- azure-ios
@@ -190,7 +201,7 @@ matrix:
190201
# This builder does the Azure archive purges to avoid accumulating junk
191202
- os: linux
192203
dist: trusty
193-
go: 1.10.x
204+
go: 1.11.x
194205
env:
195206
- azure-purge
196207
git:

‎Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build Geth in a stock Go builder container
2-
FROM golang:1.10-alpine as builder
2+
FROM golang:1.11-alpine as builder
33

44
RUN apk add --no-cache make gcc musl-dev linux-headers
55

‎Dockerfile.alltools‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build Geth in a stock Go builder container
2-
FROM golang:1.10-alpine as builder
2+
FROM golang:1.11-alpine as builder
33

44
RUN apk add --no-cache make gcc musl-dev linux-headers
55

‎appveyor.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ environment:
2323
install:
2424
- git submodule update --init
2525
- rmdir C:\go /s /q
26-
- appveyor DownloadFile https://storage.googleapis.com/golang/go1.10.3.windows-%GETH_ARCH%.zip
27-
- 7z x go1.10.3.windows-%GETH_ARCH%.zip -y -oC:\ > NUL
26+
- appveyor DownloadFile https://storage.googleapis.com/golang/go1.11.windows-%GETH_ARCH%.zip
27+
- 7z x go1.11.windows-%GETH_ARCH%.zip -y -oC:\ > NUL
2828
- go version
2929
- gcc --version
3030

‎build/deb/ethereum-swarm/deb.rules‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#export DH_VERBOSE=1
66

77
override_dh_auto_build:
8-
build/env.sh /usr/lib/go-1.10/bin/go run build/ci.go install -git-commit={{.Env.Commit}} -git-branch={{.Env.Branch}} -git-tag={{.Env.Tag}} -buildnum={{.Env.Buildnum}} -pull-request={{.Env.IsPullRequest}}
8+
build/env.sh /usr/lib/go-1.11/bin/go run build/ci.go install -git-commit={{.Env.Commit}} -git-branch={{.Env.Branch}} -git-tag={{.Env.Tag}} -buildnum={{.Env.Buildnum}} -pull-request={{.Env.IsPullRequest}}
99

1010
override_dh_auto_test:
1111

‎build/deb/ethereum/deb.rules‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#export DH_VERBOSE=1
66

77
override_dh_auto_build:
8-
build/env.sh /usr/lib/go-1.10/bin/go run build/ci.go install -git-commit={{.Env.Commit}} -git-branch={{.Env.Branch}} -git-tag={{.Env.Tag}} -buildnum={{.Env.Buildnum}} -pull-request={{.Env.IsPullRequest}}
8+
build/env.sh /usr/lib/go-1.11/bin/go run build/ci.go install -git-commit={{.Env.Commit}} -git-branch={{.Env.Branch}} -git-tag={{.Env.Tag}} -buildnum={{.Env.Buildnum}} -pull-request={{.Env.IsPullRequest}}
99

1010
override_dh_auto_test:
1111

‎internal/build/util.go‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,9 @@ func CopyFile(dst, src string, mode os.FileMode) {
143143
// so that go commands executed by build use the same version of Go as the 'host' that runs
144144
// build code. e.g.
145145
//
146-
// /usr/lib/go-1.8/bin/go run build/ci.go ...
146+
// /usr/lib/go-1.11/bin/go run build/ci.go ...
147147
//
148-
// runs using go 1.8 and invokes go 1.8 tools from the same GOROOT. This is also important
148+
// runs using go 1.11 and invokes go 1.11 tools from the same GOROOT. This is also important
149149
// because runtime.Version checks on the host should match the tools that are run.
150150
func GoTool(tool string, args ...string) *exec.Cmd {
151151
args = append([]string{tool}, args...)

0 commit comments

Comments
 (0)