Update Go version for Appveyor/Travis

This commit is contained in:
Alexander Neumann 2019-11-20 18:32:58 +01:00
parent 26d1f9f4ba
commit 6b1e5d4e18
2 changed files with 12 additions and 4 deletions

View file

@ -19,9 +19,17 @@ matrix:
- $HOME/.cache/go-build - $HOME/.cache/go-build
- $HOME/gopath/pkg/mod - $HOME/gopath/pkg/mod
# only run fuse and cloud backends tests on Travis for the latest Go on Linux
- os: linux - os: linux
go: "1.12.x" go: "1.12.x"
env: RESTIC_TEST_FUSE=0 RESTIC_TEST_CLOUD_BACKENDS=0
cache:
directories:
- $HOME/.cache/go-build
- $HOME/gopath/pkg/mod
# only run fuse and cloud backends tests on Travis for the latest Go on Linux
- os: linux
go: "1.13.x"
sudo: true sudo: true
cache: cache:
directories: directories:
@ -29,7 +37,7 @@ matrix:
- $HOME/gopath/pkg/mod - $HOME/gopath/pkg/mod
- os: osx - os: osx
go: "1.12.x" go: "1.13.x"
env: RESTIC_TEST_FUSE=0 RESTIC_TEST_CLOUD_BACKENDS=0 env: RESTIC_TEST_FUSE=0 RESTIC_TEST_CLOUD_BACKENDS=0
cache: cache:
directories: directories:

View file

@ -20,8 +20,8 @@ init:
install: install:
- rmdir c:\go /s /q - rmdir c:\go /s /q
- appveyor DownloadFile https://dl.google.com/go/go1.12.1.windows-amd64.msi - appveyor DownloadFile https://dl.google.com/go/go1.13.4.windows-amd64.msi
- msiexec /i go1.12.1.windows-amd64.msi /q - msiexec /i go1.13.4.windows-amd64.msi /q
- go version - go version
- go env - go env
- appveyor DownloadFile http://sourceforge.netcologne.de/project/gnuwin32/tar/1.13-1/tar-1.13-1-bin.zip -FileName tar.zip - appveyor DownloadFile http://sourceforge.netcologne.de/project/gnuwin32/tar/1.13-1/tar-1.13-1-bin.zip -FileName tar.zip