travis: Add go 1.7 and drop go 1.5 support. (#740)

This commit is contained in:
David Hill 2016-08-18 12:06:26 -04:00 committed by Dave Collins
parent 4a5223266c
commit 05ab7141d3
3 changed files with 3 additions and 14 deletions

View file

@ -1,15 +1,12 @@
language: go language: go
go: go:
- 1.5.4
- 1.6.3 - 1.6.3
- 1.7
sudo: false sudo: false
before_install:
- gotools=golang.org/x/tools
- export GO15VENDOREXPERIMENT=1
install: install:
- go get -v github.com/Masterminds/glide - go get -v github.com/Masterminds/glide
- glide install - glide install
- go get -v $gotools/cmd/cover - go get -v golang.org/x/tools/cmd/cover
- go get -v github.com/golang/lint/golint - go get -v github.com/golang/lint/golint
script: script:
- export PATH=$PATH:$HOME/gopath/bin - export PATH=$PATH:$HOME/gopath/bin

View file

@ -33,7 +33,7 @@ which are both under active development.
## Requirements ## Requirements
[Go](http://golang.org) 1.5 or newer. [Go](http://golang.org) 1.6 or newer.
## Installation ## Installation
@ -58,10 +58,6 @@ recommended that `GOPATH` is set to a directory in your home directory such as
`~/goprojects` to avoid write permission issues. It is also recommended to add `~/goprojects` to avoid write permission issues. It is also recommended to add
`$GOPATH/bin` to your `PATH` at this point. `$GOPATH/bin` to your `PATH` at this point.
**NOTE:** If you are using Go 1.5, you must manually enable the vendor
experiment by setting the `GO15VENDOREXPERIMENT` environment variable to `1`.
This step is not required for Go 1.6.
- Run the following commands to obtain btcd, all dependencies, and install it: - Run the following commands to obtain btcd, all dependencies, and install it:
```bash ```bash

View file

@ -85,10 +85,6 @@ recommended that `GOPATH` is set to a directory in your home directory such as
`~/goprojects` to avoid write permission issues. It is also recommended to add `~/goprojects` to avoid write permission issues. It is also recommended to add
`$GOPATH/bin` to your `PATH` at this point. `$GOPATH/bin` to your `PATH` at this point.
**NOTE:** If you are using Go 1.5, you must manually enable the vendor
experiment by setting the `GO15VENDOREXPERIMENT` environment variable to `1`.
This step is not required for Go 1.6.
- Run the following commands to obtain btcd, all dependencies, and install it: - Run the following commands to obtain btcd, all dependencies, and install it:
```bash ```bash