Updae to go1.8

This commit is contained in:
Nick Craig-Wood 2017-02-17 09:40:14 +00:00
parent 033d1eb7af
commit 5cdfe9c7ae
2 changed files with 3 additions and 2 deletions

View File

@ -8,6 +8,7 @@ go:
- 1.5.4 - 1.5.4
- 1.6.4 - 1.6.4
- 1.7.4 - 1.7.4
- 1.8
install: install:
- git fetch --unshallow --tags - git fetch --unshallow --tags
- make vars - make vars
@ -23,5 +24,5 @@ deploy:
script: make travis_beta script: make travis_beta
on: on:
branch: master branch: master
go: 1.7.4 go: 1.8
condition: "`uname` == 'Linux'" condition: "`uname` == 'Linux'"

View File

@ -4,7 +4,7 @@ LAST_TAG := $(shell git describe --tags --abbrev=0)
NEW_TAG := $(shell echo $(LAST_TAG) | perl -lpe 's/v//; $$_ += 0.01; $$_ = sprintf("v%.2f", $$_)') NEW_TAG := $(shell echo $(LAST_TAG) | perl -lpe 's/v//; $$_ += 0.01; $$_ = sprintf("v%.2f", $$_)')
GO_VERSION := $(shell go version) GO_VERSION := $(shell go version)
GO_FILES := $(shell go list ./... | grep -v /vendor/ ) GO_FILES := $(shell go list ./... | grep -v /vendor/ )
GO_LATEST := $(findstring go1.7,$(GO_VERSION)) GO_LATEST := $(findstring go1.8,$(GO_VERSION))
BETA_URL := http://beta.rclone.org/$(TAG)/ BETA_URL := http://beta.rclone.org/$(TAG)/
# Only needed for Go 1.5 # Only needed for Go 1.5
export GO15VENDOREXPERIMENT=1 export GO15VENDOREXPERIMENT=1