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:
secure: HbzxSy9zQ8NYWN9NNPf6ALQO9Q0mwRNqwehsLcOEHy0=
stack: go 1.11
install:
- choco install winfsp -y
- choco install zip -y

View File

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