aboutsummaryrefslogtreecommitdiffstats
path: root/build/ci.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2018-02-28 19:29:58 +0800
committerGitHub <noreply@github.com>2018-02-28 19:29:58 +0800
commit8f43c9743311eed24fbb2ab011f33ccf3b8aa216 (patch)
treedd4f027f84dd556a38083d896512fcdf95d18b4f /build/ci.go
parent98ec5e50115b47670c1f3ffb2cc890ce4838c4d6 (diff)
parent17b0e226d3d6b3829a82ee1c142bd125cc9a0109 (diff)
downloaddexon-8f43c9743311eed24fbb2ab011f33ccf3b8aa216.tar
dexon-8f43c9743311eed24fbb2ab011f33ccf3b8aa216.tar.gz
dexon-8f43c9743311eed24fbb2ab011f33ccf3b8aa216.tar.bz2
dexon-8f43c9743311eed24fbb2ab011f33ccf3b8aa216.tar.lz
dexon-8f43c9743311eed24fbb2ab011f33ccf3b8aa216.tar.xz
dexon-8f43c9743311eed24fbb2ab011f33ccf3b8aa216.tar.zst
dexon-8f43c9743311eed24fbb2ab011f33ccf3b8aa216.zip
Merge pull request #16207 from karalabe/drop-go1.7
travis, build, consensus: drop support for Go 1.7
Diffstat (limited to 'build/ci.go')
-rw-r--r--build/ci.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/build/ci.go b/build/ci.go
index 544483c42..24b58c1ae 100644
--- a/build/ci.go
+++ b/build/ci.go
@@ -182,13 +182,13 @@ func doInstall(cmdline []string) {
// Check Go version. People regularly open issues about compilation
// failure with outdated Go. This should save them the trouble.
if !strings.Contains(runtime.Version(), "devel") {
- // Figure out the minor version number since we can't textually compare (1.10 < 1.7)
+ // Figure out the minor version number since we can't textually compare (1.10 < 1.8)
var minor int
fmt.Sscanf(strings.TrimPrefix(runtime.Version(), "go1."), "%d", &minor)
- if minor < 7 {
+ if minor < 8 {
log.Println("You have Go version", runtime.Version())
- log.Println("go-ethereum requires at least Go version 1.7 and cannot")
+ log.Println("go-ethereum requires at least Go version 1.8 and cannot")
log.Println("be compiled with an earlier version. Please upgrade your Go installation.")
os.Exit(1)
}