mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-21 10:27:46 +08:00
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:
parent
c96373e80e
commit
8b573dc771
@ -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
|
||||
|
||||
@ -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,
|
||||
|
||||
@ -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,
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
FROM golang:1.10
|
||||
FROM golang:1.11
|
||||
MAINTAINER Jakub Sztandera <kubuxu@ipfs.io>
|
||||
|
||||
|
||||
|
||||
2
ci/Jenkinsfile
vendored
2
ci/Jenkinsfile
vendored
@ -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()
|
||||
|
||||
@ -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:
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
# golang utilities
|
||||
GO_MIN_VERSION = 1.10
|
||||
GO_MIN_VERSION = 1.11
|
||||
|
||||
|
||||
# pre-definitions
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
},
|
||||
"gx": {
|
||||
"dvcsimport": "github.com/ipfs/go-ipfs",
|
||||
"goversion": "1.10"
|
||||
"goversion": "1.11"
|
||||
},
|
||||
"gxDependencies": [
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user