switch to go 1.11

Go 1.11 changes the output of `go fmt` slightly so we either need to
all *downgrade* or *upgrade*. Let's upgrade.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
This commit is contained in:
Steven Allen 2018-09-17 11:56:51 -07:00
parent c96373e80e
commit 8b573dc771
8 changed files with 10 additions and 10 deletions

View File

@ -10,7 +10,7 @@ os:
language: go
go:
- 1.10.2
- 1.11
env:
- TEST_NO_FUSE=1 TEST_VERBOSE=1 TEST_SUITE=test_go_expensive

View File

@ -1,4 +1,4 @@
FROM golang:1.10-stretch
FROM golang:1.11-stretch
MAINTAINER Lars Gierth <lgierth@ipfs.io>
# There is a copy of this Dockerfile called Dockerfile.fast,

View File

@ -1,4 +1,4 @@
FROM golang:1.10-stretch
FROM golang:1.11-stretch
MAINTAINER Lars Gierth <lgierth@ipfs.io>
# This is a copy of /Dockerfile,

View File

@ -1,4 +1,4 @@
FROM golang:1.10
FROM golang:1.11
MAINTAINER Jakub Sztandera <kubuxu@ipfs.io>

2
ci/Jenkinsfile vendored
View File

@ -35,7 +35,7 @@ def setupStep(nodeLabel, f) {
def ps = nodeLabel != 'windows' ? '/' : '\\'
def psep = nodeLabel != 'windows' ? ':' : ';'
def root = tool name: '1.10.2', type: 'go'
def root = tool name: '1.11', type: 'go'
def jobNameArr = "${JOB_NAME}"
def jobName = jobNameArr.split("/")[0..1].join(nodeLabel != 'windows' ? '/' : '\\\\').toLowerCase()
def subName = jobNameArr.split("/")[2].toLowerCase()

View File

@ -12,8 +12,8 @@ machine:
post:
- sudo rm -rf /usr/local/go
- if [ ! -e go1.10.2.linux-amd64.tar.gz ]; then curl -o go1.10.2.linux-amd64.tar.gz https://storage.googleapis.com/golang/go1.10.2.linux-amd64.tar.gz; fi
- sudo tar -C /usr/local -xzf go1.10.2.linux-amd64.tar.gz
- if [ ! -e go1.11.linux-amd64.tar.gz ]; then curl -o go1.11.linux-amd64.tar.gz https://storage.googleapis.com/golang/go1.11.linux-amd64.tar.gz; fi
- sudo tar -C /usr/local -xzf go1.11.linux-amd64.tar.gz
services:
- docker
@ -30,7 +30,7 @@ dependencies:
- cd "$HOME/.go_workspace/src/$IMPORT_PATH" && make deps
cache_directories:
- ~/go1.10.2.linux-amd64.tar.gz
- ~/go1.11.linux-amd64.tar.gz
- ~/.go_workspace/src/gx/ipfs
test:

View File

@ -1,5 +1,5 @@
# golang utilities
GO_MIN_VERSION = 1.10
GO_MIN_VERSION = 1.11
# pre-definitions

View File

@ -4,7 +4,7 @@
},
"gx": {
"dvcsimport": "github.com/ipfs/go-ipfs",
"goversion": "1.10"
"goversion": "1.11"
},
"gxDependencies": [
{