mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-21 10:27:46 +08:00
bump go requirement to 1.7
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
This commit is contained in:
parent
8830aae9bc
commit
4974136a1a
@ -10,7 +10,7 @@ os:
|
||||
language: go
|
||||
|
||||
go:
|
||||
- 1.5.2
|
||||
- 1.7
|
||||
|
||||
env:
|
||||
- TEST_NO_FUSE=1 TEST_VERBOSE=1 TEST_SUITE=test_go_expensive
|
||||
|
||||
2
Makefile
2
Makefile
@ -1,5 +1,5 @@
|
||||
# Minimum version numbers for software required to build IPFS
|
||||
IPFS_MIN_GO_VERSION = 1.5.2
|
||||
IPFS_MIN_GO_VERSION = 1.7
|
||||
IPFS_MIN_GX_VERSION = 0.6
|
||||
IPFS_MIN_GX_GO_VERSION = 1.1
|
||||
|
||||
|
||||
@ -68,7 +68,7 @@ From there:
|
||||
|
||||
#### Install Go
|
||||
|
||||
The build process for ipfs requires Go 1.5+, but we strongly recommend using 1.6.2. If you don't have it: [Download Go 1.6.2+](https://golang.org/dl/).
|
||||
The build process for ipfs requires Go 1.7 or higher. If you don't have it: [Download Go 1.7+](https://golang.org/dl/).
|
||||
|
||||
|
||||
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`:
|
||||
@ -122,7 +122,7 @@ mismatched APIs.
|
||||
* Separate [instructions are available for building on Windows](docs/windows.md).
|
||||
* `git` is required in order for `go get` to fetch all dependencies.
|
||||
* Package managers often contain out-of-date `golang` packages.
|
||||
Ensure that `go version` reports at least 1.5.2. See above for how to install go.
|
||||
Ensure that `go version` reports at least 1.7. See above for how to install go.
|
||||
* If you are interested in development, please install the development
|
||||
dependencies as well.
|
||||
* *WARNING: Older versions of OSX FUSE (for Mac OS X) can cause kernel panics when mounting!*
|
||||
|
||||
@ -10,8 +10,8 @@ machine:
|
||||
|
||||
post:
|
||||
- sudo rm -rf /usr/local/go
|
||||
- if [ ! -e go1.5.2.linux-amd64.tar.gz ]; then curl -o go1.5.2.linux-amd64.tar.gz https://storage.googleapis.com/golang/go1.5.2.linux-amd64.tar.gz; fi
|
||||
- sudo tar -C /usr/local -xzf go1.5.2.linux-amd64.tar.gz
|
||||
- if [ ! -e go1.7.linux-amd64.tar.gz ]; then curl -o go1.7.linux-amd64.tar.gz https://storage.googleapis.com/golang/go1.7.linux-amd64.tar.gz; fi
|
||||
- sudo tar -C /usr/local -xzf go1.7.linux-amd64.tar.gz
|
||||
|
||||
services:
|
||||
- docker
|
||||
@ -28,7 +28,7 @@ dependencies:
|
||||
- cd "$HOME/.go_workspace/src/$IMPORT_PATH" && make deps
|
||||
|
||||
cache_directories:
|
||||
- ~/go1.5.2.linux-amd64.tar.gz
|
||||
- ~/go1.7.linux-amd64.tar.gz
|
||||
- "$HOME/.go_workspace/src/gx/ipfs"
|
||||
|
||||
test:
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
},
|
||||
"gx": {
|
||||
"dvcsimport": "github.com/ipfs/go-libp2p",
|
||||
"goversion": "1.5.2"
|
||||
"goversion": "1.7"
|
||||
},
|
||||
"gxDependencies": [
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user