@cryptotaxi247 / kubo / commits / 8b573dc77

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>

Steven Allen committed Sep 17, 2018 at 11:56 UTC 8b573dc77183123c528ca83e359477f527a70346
8 files changed +10 -10
.travis.yml
+1 -1
@@ -10,7 +10,7 @@ os:
10 language: go
11
12 go:
13 - - 1.10.2
13 + - 1.11
14
15 env:
16 - TEST_NO_FUSE=1 TEST_VERBOSE=1 TEST_SUITE=test_go_expensive
Dockerfile
+1 -1
@@ -1,4 +1,4 @@
1 -FROM golang:1.10-stretch
1 +FROM golang:1.11-stretch
2 MAINTAINER Lars Gierth <lgierth@ipfs.io>
3
4 # There is a copy of this Dockerfile called Dockerfile.fast,
Dockerfile.fast
+1 -1
@@ -1,4 +1,4 @@
1 -FROM golang:1.10-stretch
1 +FROM golang:1.11-stretch
2 MAINTAINER Lars Gierth <lgierth@ipfs.io>
3
4 # This is a copy of /Dockerfile,
ci/Dockerfile.buildenv
+1 -1
@@ -1,4 +1,4 @@
1 -FROM golang:1.10
1 +FROM golang:1.11
2 MAINTAINER Jakub Sztandera <kubuxu@ipfs.io>
3
4
ci/Jenkinsfile
+1 -1
@@ -35,7 +35,7 @@ def setupStep(nodeLabel, f) {
35 def ps = nodeLabel != 'windows' ? '/' : '\\'
36 def psep = nodeLabel != 'windows' ? ':' : ';'
37
38 - def root = tool name: '1.10.2', type: 'go'
38 + def root = tool name: '1.11', type: 'go'
39 def jobNameArr = "${JOB_NAME}"
40 def jobName = jobNameArr.split("/")[0..1].join(nodeLabel != 'windows' ? '/' : '\\\\').toLowerCase()
41 def subName = jobNameArr.split("/")[2].toLowerCase()
circle.yml
+3 -3
@@ -12,8 +12,8 @@ machine:
12
13 post:
14 - sudo rm -rf /usr/local/go
15 - - 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
16 - - sudo tar -C /usr/local -xzf go1.10.2.linux-amd64.tar.gz
15 + - 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
16 + - sudo tar -C /usr/local -xzf go1.11.linux-amd64.tar.gz
17
18 services:
19 - docker
@@ -30,7 +30,7 @@ dependencies:
30 - cd "$HOME/.go_workspace/src/$IMPORT_PATH" && make deps
31
32 cache_directories:
33 - - ~/go1.10.2.linux-amd64.tar.gz
33 + - ~/go1.11.linux-amd64.tar.gz
34 - ~/.go_workspace/src/gx/ipfs
35
36 test:
mk/golang.mk
+1 -1
@@ -1,5 +1,5 @@
1 # golang utilities
2 -GO_MIN_VERSION = 1.10
2 +GO_MIN_VERSION = 1.11
3
4
5 # pre-definitions
package.json
+1 -1
@@ -4,7 +4,7 @@
4 },
5 "gx": {
6 "dvcsimport": "github.com/ipfs/go-ipfs",
7 - "goversion": "1.10"
7 + "goversion": "1.11"
8 },
9 "gxDependencies": [
10 {