Skip to content

Commit 669aba8

Browse files
committed
travis, Dockerfile, appveyor, build: bump to Go 1.10
1 parent 39c16c8 commit 669aba8

7 files changed

Lines changed: 29 additions & 23 deletions

File tree

‎.travis.yml‎

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ matrix:
1414
- go run build/ci.go install
1515
- go run build/ci.go test -coverage
1616

17-
# These are the latest Go versions.
1817
- os: linux
1918
dist: trusty
2019
sudo: required
@@ -26,8 +25,20 @@ matrix:
2625
- go run build/ci.go install
2726
- go run build/ci.go test -coverage
2827

28+
# These are the latest Go versions.
29+
- os: linux
30+
dist: trusty
31+
sudo: required
32+
go: "1.10"
33+
script:
34+
- sudo modprobe fuse
35+
- sudo chmod 666 /dev/fuse
36+
- sudo chown root:$USER /etc/fuse.conf
37+
- go run build/ci.go install
38+
- go run build/ci.go test -coverage
39+
2940
- os: osx
30-
go: 1.9.x
41+
go: "1.10"
3142
script:
3243
- unset -f cd # workaround for https://github.com/travis-ci/travis-ci/issues/8703
3344
- brew update
@@ -39,7 +50,7 @@ matrix:
3950
# This builder only tests code linters on latest version of Go
4051
- os: linux
4152
dist: trusty
42-
go: 1.9.x
53+
go: "1.10"
4354
env:
4455
- lint
4556
git:
@@ -51,7 +62,7 @@ matrix:
5162
- os: linux
5263
dist: trusty
5364
sudo: required
54-
go: 1.9.x
65+
go: "1.10"
5566
env:
5667
- ubuntu-ppa
5768
- azure-linux
@@ -91,7 +102,7 @@ matrix:
91102
dist: trusty
92103
services:
93104
- docker
94-
go: 1.9.x
105+
go: "1.10"
95106
env:
96107
- azure-linux-mips
97108
git:
@@ -135,7 +146,7 @@ matrix:
135146
git:
136147
submodules: false # avoid cloning ethereum/tests
137148
before_install:
138-
- curl https://storage.googleapis.com/golang/go1.9.2.linux-amd64.tar.gz | tar -xz
149+
- curl https://storage.googleapis.com/golang/go1.10.linux-amd64.tar.gz | tar -xz
139150
- export PATH=`pwd`/go/bin:$PATH
140151
- export GOROOT=`pwd`/go
141152
- export GOPATH=$HOME/go
@@ -152,7 +163,7 @@ matrix:
152163

153164
# This builder does the OSX Azure, iOS CocoaPods and iOS Azure uploads
154165
- os: osx
155-
go: 1.9.x
166+
go: "1.10"
156167
env:
157168
- azure-osx
158169
- azure-ios
@@ -182,7 +193,7 @@ matrix:
182193
- os: linux
183194
dist: trusty
184195
sudo: required
185-
go: 1.9.x
196+
go: "1.10"
186197
env:
187198
- azure-purge
188199
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.9-alpine as builder
2+
FROM golang:1.10-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.9-alpine as builder
2+
FROM golang:1.10-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.9.2.windows-%GETH_ARCH%.zip
27-
- 7z x go1.9.2.windows-%GETH_ARCH%.zip -y -oC:\ > NUL
26+
- appveyor DownloadFile https://storage.googleapis.com/golang/go1.10.windows-%GETH_ARCH%.zip
27+
- 7z x go1.10.windows-%GETH_ARCH%.zip -y -oC:\ > NUL
2828
- go version
2929
- gcc --version
3030

‎build/ci-notes.md‎

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,7 @@
22

33
Tagged releases and develop branch commits are available as installable Debian packages
44
for Ubuntu. Packages are built for the all Ubuntu versions which are supported by
5-
Canonical:
6-
7-
- Trusty Tahr (14.04 LTS)
8-
- Xenial Xerus (16.04 LTS)
9-
- Yakkety Yak (16.10)
10-
- Zesty Zapus (17.04)
5+
Canonical.
116

127
Packages of develop branch commits have suffix -unstable and cannot be installed alongside
138
the stable version. Switching between release streams requires user intervention.
@@ -21,18 +16,18 @@ variable which Travis CI makes available to certain builds.
2116
We want to build go-ethereum with the most recent version of Go, irrespective of the Go
2217
version that is available in the main Ubuntu repository. In order to make this possible,
2318
our PPA depends on the ~gophers/ubuntu/archive PPA. Our source package build-depends on
24-
golang-1.9, which is co-installable alongside the regular golang package. PPA dependencies
19+
golang-1.10, which is co-installable alongside the regular golang package. PPA dependencies
2520
can be edited at https://launchpad.net/%7Eethereum/+archive/ubuntu/ethereum/+edit-dependencies
2621

2722
## Building Packages Locally (for testing)
2823

2924
You need to run Ubuntu to do test packaging.
3025

31-
Add the gophers PPA and install Go 1.9 and Debian packaging tools:
26+
Add the gophers PPA and install Go 1.10 and Debian packaging tools:
3227

3328
$ sudo apt-add-repository ppa:gophers/ubuntu/archive
3429
$ sudo apt-get update
35-
$ sudo apt-get install build-essential golang-1.9 devscripts debhelper
30+
$ sudo apt-get install build-essential golang-1.10 devscripts debhelper
3631

3732
Create the source packages:
3833

‎build/deb.control‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Source: {{.Name}}
22
Section: science
33
Priority: extra
44
Maintainer: {{.Author}}
5-
Build-Depends: debhelper (>= 8.0.0), golang-1.9
5+
Build-Depends: debhelper (>= 8.0.0), golang-1.10
66
Standards-Version: 3.9.5
77
Homepage: https://ethereum.org
88
Vcs-Git: git://github.com/ethereum/go-ethereum.git

‎build/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.9/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.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}}
99

1010
override_dh_auto_test:
1111

0 commit comments

Comments
 (0)