@cryptotaxi247 / kubo / commits / 1a75c40f5

require go1.9

License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>

Jeromy committed Nov 22, 2017 at 13:54 UTC 1a75c40f5b6ec9d7076fa56f5626c4940d35bf0b
7 files changed +12 -12
.travis.yml
+1 -1
@@ -10,7 +10,7 @@ os:
10 language: go
11
12 go:
13 - - 1.8
13 + - 1.9
14
15 env:
16 - TEST_NO_FUSE=1 TEST_VERBOSE=1 TEST_SUITE=test_go_expensive
README.md
+2 -2
@@ -104,7 +104,7 @@ With snap, in any of the [supported Linux distributions](https://snapcraft.io/do
104
105 #### Install Go
106
107 -The build process for ipfs requires Go 1.8 or higher. If you don't have it: [Download Go 1.8+](https://golang.org/dl/).
107 +The build process for ipfs requires Go 1.9 or higher. If you don't have it: [Download Go 1.9+](https://golang.org/dl/).
108
109
110 You'll need to add Go's bin directories to your `$PATH` environment variable e.g., by adding these lines to your `/etc/profile` (for a system-wide installation) or `$HOME/.profile`:
@@ -148,7 +148,7 @@ mismatched APIs.
148 * Also, [instructions for OpenBSD](docs/openbsd.md).
149 * `git` is required in order for `go get` to fetch all dependencies.
150 * Package managers often contain out-of-date `golang` packages.
151 - Ensure that `go version` reports at least 1.8. See above for how to install go.
151 + Ensure that `go version` reports at least 1.9. See above for how to install go.
152 * If you are interested in development, please install the development
153 dependencies as well.
154 * *WARNING: Older versions of OSX FUSE (for Mac OS X) can cause kernel panics when mounting!*
bin/Rules.mk
+3 -3
@@ -1,9 +1,9 @@
1 include mk/header.mk
2
3 -dist_root_$(d)=/ipfs/QmR27Do9gqx9VmuQTEX1UGXETSWYJTQzPzxS5FNUnySCv1
3 +dist_root_$(d)=/ipfs/QmT3CLJKJzWPuN4NAN4LLy69UpKskMF3AuYhXstKdn8V43
4
5 -$(d)/gx: $(d)/gx-v0.12.0
6 -$(d)/gx-go: $(d)/gx-go-v1.5.0
5 +$(d)/gx: $(d)/gx-v0.12.1
6 +$(d)/gx-go: $(d)/gx-go-v1.6.0
7
8 TGTS_$(d) := $(d)/gx $(d)/gx-go
9 DISTCLEAN += $(wildcard $(d)/gx-v*) $(wildcard $(d)/gx-go-v*) $(d)/tmp
ci/Dockerfile.buildenv
+1 -1
@@ -1,4 +1,4 @@
1 -FROM golang:1.8
1 +FROM golang:1.9
2 MAINTAINER Jakub Sztandera <kubuxu@ipfs.io>
3
4
circle.yml
+3 -3
@@ -12,8 +12,8 @@ machine:
12
13 post:
14 - sudo rm -rf /usr/local/go
15 - - if [ ! -e go1.8.3.linux-amd64.tar.gz ]; then curl -o go1.8.3.linux-amd64.tar.gz https://storage.googleapis.com/golang/go1.8.3.linux-amd64.tar.gz; fi
16 - - sudo tar -C /usr/local -xzf go1.8.3.linux-amd64.tar.gz
15 + - if [ ! -e go1.9.2.linux-amd64.tar.gz ]; then curl -o go1.9.2.linux-amd64.tar.gz https://storage.googleapis.com/golang/go1.9.2.linux-amd64.tar.gz; fi
16 + - sudo tar -C /usr/local -xzf go1.9.2.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.8.3.linux-amd64.tar.gz
33 + - ~/go1.9.2.linux-amd64.tar.gz
34 - "$HOME/.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.8
2 +GO_MIN_VERSION = 1.9
3
4 # pre-definitions
5 GOCC ?= go
package.json
+1 -1
@@ -4,7 +4,7 @@
4 },
5 "gx": {
6 "dvcsimport": "github.com/ipfs/go-ipfs",
7 - "goversion": "1.8"
7 + "goversion": "1.9"
8 },
9 "gxDependencies": [
10 {