build: use go1.11rc1 to make the beta releases

This commit is contained in:
Nick Craig-Wood 2018-08-17 21:02:50 +01:00
parent 7c911bf2d6
commit 64ecc2f587
2 changed files with 5 additions and 4 deletions

View File

@ -8,6 +8,7 @@ go:
- 1.8.7 - 1.8.7
- 1.9.3 - 1.9.3
- "1.10.1" - "1.10.1"
- "1.11rc1"
- tip - tip
before_install: before_install:
- if [[ $TRAVIS_OS_NAME == linux ]]; then sudo modprobe fuse ; sudo chmod 666 /dev/fuse ; sudo chown root:$USER /etc/fuse.conf ; fi - if [[ $TRAVIS_OS_NAME == linux ]]; then sudo modprobe fuse ; sudo chmod 666 /dev/fuse ; sudo chown root:$USER /etc/fuse.conf ; fi
@ -38,7 +39,7 @@ matrix:
- go: tip - go: tip
include: include:
- os: osx - os: osx
go: "1.10.1" go: "1.11rc1"
env: GOTAGS="" env: GOTAGS=""
deploy: deploy:
provider: script provider: script
@ -46,5 +47,5 @@ deploy:
skip_cleanup: true skip_cleanup: true
on: on:
all_branches: true all_branches: true
go: "1.10.1" go: "1.11rc1"
condition: $TRAVIS_PULL_REQUEST == false condition: $TRAVIS_PULL_REQUEST == false

View File

@ -11,8 +11,8 @@ 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/ )
# Run full tests if go >= go1.9 # Run full tests if go >= go1.11
FULL_TESTS := $(shell go version | perl -lne 'print "go$$1.$$2" if /go(\d+)\.(\d+)/ && ($$1 > 1 || $$2 >= 9)') FULL_TESTS := $(shell go version | perl -lne 'print "go$$1.$$2" if /go(\d+)\.(\d+)/ && ($$1 > 1 || $$2 >= 11)')
BETA_PATH := $(BRANCH_PATH)$(TAG) BETA_PATH := $(BRANCH_PATH)$(TAG)
BETA_URL := https://beta.rclone.org/$(BETA_PATH)/ BETA_URL := https://beta.rclone.org/$(BETA_PATH)/
BETA_UPLOAD_ROOT := memstore:beta-rclone-org BETA_UPLOAD_ROOT := memstore:beta-rclone-org