From 85f4c826db055456744dbf332feebba3af8accac Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Sat, 16 Mar 2019 13:08:48 +0100 Subject: [PATCH] Update Go for CI tests --- .travis.yml | 20 ++++++++++---------- appveyor.yml | 4 ++-- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.travis.yml b/.travis.yml index b54df0c3a..48b910129 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,14 +3,6 @@ sudo: false matrix: include: - - os: linux - go: "1.9.x" - env: RESTIC_TEST_FUSE=0 RESTIC_TEST_CLOUD_BACKENDS=0 RESTIC_BUILD_SOLARIS=0 - cache: - directories: - - $HOME/.cache/go-build - - $HOME/gopath/pkg/mod - - os: linux go: "1.10.x" env: RESTIC_TEST_FUSE=0 RESTIC_TEST_CLOUD_BACKENDS=0 @@ -19,9 +11,17 @@ matrix: - $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.11.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.12.x" sudo: true cache: directories: @@ -29,7 +29,7 @@ matrix: - $HOME/gopath/pkg/mod - os: osx - go: "1.11.x" + go: "1.12.x" env: RESTIC_TEST_FUSE=0 RESTIC_TEST_CLOUD_BACKENDS=0 cache: directories: diff --git a/appveyor.yml b/appveyor.yml index 7065a219f..669bdddc7 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -20,8 +20,8 @@ init: install: - rmdir c:\go /s /q - - appveyor DownloadFile https://dl.google.com/go/go1.11.windows-amd64.msi - - msiexec /i go1.11.windows-amd64.msi /q + - appveyor DownloadFile https://dl.google.com/go/go1.12.1.windows-amd64.msi + - msiexec /i go1.12.1.windows-amd64.msi /q - go version - go env - appveyor DownloadFile http://sourceforge.netcologne.de/project/gnuwin32/tar/1.13-1/tar-1.13-1-bin.zip -FileName tar.zip