1
mirror of https://github.com/rclone/rclone synced 2024-12-22 13:03:02 +01:00

build: update to use go1.11 for the build

Also select latest patch release for go using 1.yy.x feature in travis
This commit is contained in:
Nick Craig-Wood 2018-08-26 15:11:37 +01:00
parent a64e0922b9
commit b596ccdf0f
2 changed files with 9 additions and 7 deletions

View File

@ -15,6 +15,8 @@ environment:
RCLONE_CONFIG_PASS: RCLONE_CONFIG_PASS:
secure: HbzxSy9zQ8NYWN9NNPf6ALQO9Q0mwRNqwehsLcOEHy0= secure: HbzxSy9zQ8NYWN9NNPf6ALQO9Q0mwRNqwehsLcOEHy0=
stack: go 1.11
install: install:
- choco install winfsp -y - choco install winfsp -y
- choco install zip -y - choco install zip -y

View File

@ -4,11 +4,11 @@ dist: trusty
os: os:
- linux - linux
go: go:
- 1.7.6 - 1.7.x
- 1.8.7 - 1.8.x
- 1.9.3 - 1.9.x
- "1.10.1" - 1.10.x
- "1.11rc1" - 1.11.x
- 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
@ -39,7 +39,7 @@ matrix:
- go: tip - go: tip
include: include:
- os: osx - os: osx
go: "1.11rc1" go: 1.11.x
env: GOTAGS="" env: GOTAGS=""
deploy: deploy:
provider: script provider: script
@ -47,5 +47,5 @@ deploy:
skip_cleanup: true skip_cleanup: true
on: on:
all_branches: true all_branches: true
go: "1.11rc1" go: 1.11.x
condition: $TRAVIS_PULL_REQUEST == false condition: $TRAVIS_PULL_REQUEST == false