Skip to content

Commit 1a75c40

Browse files
committed
require go1.9
License: MIT Signed-off-by: Jeromy <[email protected]>
1 parent f8eaae3 commit 1a75c40

File tree

7 files changed

+12
-12
lines changed

7 files changed

+12
-12
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ os:
1010
language: go
1111

1212
go:
13-
- 1.8
13+
- 1.9
1414

1515
env:
1616
- TEST_NO_FUSE=1 TEST_VERBOSE=1 TEST_SUITE=test_go_expensive

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ With snap, in any of the [supported Linux distributions](https://snapcraft.io/do
104104

105105
#### Install Go
106106

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/).
108108

109109

110110
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.
148148
* Also, [instructions for OpenBSD](docs/openbsd.md).
149149
* `git` is required in order for `go get` to fetch all dependencies.
150150
* 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.
152152
* If you are interested in development, please install the development
153153
dependencies as well.
154154
* *WARNING: Older versions of OSX FUSE (for Mac OS X) can cause kernel panics when mounting!*

bin/Rules.mk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
include mk/header.mk
22

3-
dist_root_$(d)=/ipfs/QmR27Do9gqx9VmuQTEX1UGXETSWYJTQzPzxS5FNUnySCv1
3+
dist_root_$(d)=/ipfs/QmT3CLJKJzWPuN4NAN4LLy69UpKskMF3AuYhXstKdn8V43
44

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
77

88
TGTS_$(d) := $(d)/gx $(d)/gx-go
99
DISTCLEAN += $(wildcard $(d)/gx-v*) $(wildcard $(d)/gx-go-v*) $(d)/tmp

ci/Dockerfile.buildenv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.8
1+
FROM golang:1.9
22
MAINTAINER Jakub Sztandera <[email protected]>
33

44

circle.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ machine:
1212

1313
post:
1414
- 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
1717

1818
services:
1919
- docker
@@ -30,7 +30,7 @@ dependencies:
3030
- cd "$HOME/.go_workspace/src/$IMPORT_PATH" && make deps
3131

3232
cache_directories:
33-
- ~/go1.8.3.linux-amd64.tar.gz
33+
- ~/go1.9.2.linux-amd64.tar.gz
3434
- "$HOME/.go_workspace/src/gx/ipfs"
3535

3636
test:

mk/golang.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# golang utilities
2-
GO_MIN_VERSION = 1.8
2+
GO_MIN_VERSION = 1.9
33

44
# pre-definitions
55
GOCC ?= go

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
},
55
"gx": {
66
"dvcsimport": "github.com/ipfs/go-ipfs",
7-
"goversion": "1.8"
7+
"goversion": "1.9"
88
},
99
"gxDependencies": [
1010
{

0 commit comments

Comments
 (0)