From 749ca28534e471ba8ec5646ff245fd54019dc3cf Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Sun, 27 Sep 2015 17:22:12 +0200 Subject: [PATCH 1/4] Update Go 1.4 to version 1.4.3 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index d322cc253..11fabcb55 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,7 @@ sudo: false go: - 1.3.3 - - 1.4.2 + - 1.4.3 - 1.5.1 os: From 70a6233b945e37d217f6001913de16e1148fa786 Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Sun, 27 Sep 2015 17:58:13 +0200 Subject: [PATCH 2/4] Install the 'cover' tool --- run_integration_tests.go | 1 + 1 file changed, 1 insertion(+) diff --git a/run_integration_tests.go b/run_integration_tests.go index 1e0d26d2d..6b33423e3 100644 --- a/run_integration_tests.go +++ b/run_integration_tests.go @@ -24,6 +24,7 @@ type TravisEnvironment struct { func (env *TravisEnvironment) Prepare() { msg("preparing environment for Travis CI\n") + run("go", "get", "golang.org/x/tools/cmd/cover") run("go", "get", "github.com/mattn/goveralls") run("go", "get", "github.com/mitchellh/gox") From 72913427238991c7fc60a3472321fe56d2c8adea Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Sun, 27 Sep 2015 18:00:53 +0200 Subject: [PATCH 3/4] Install current version of Go This is inspired by the appveyor.yaml from the go-plus project: https://github.com/joefitzgerald/go-plus/blob/master/appveyor.yml --- appveyor.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/appveyor.yml b/appveyor.yml index cc936f6f7..36e0c1f1d 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -3,7 +3,17 @@ clone_folder: c:\gopath\src\github.com\restic\restic environment: GOPATH: c:\gopath;c:\gopath\src\github.com\restic\restic\Godeps\_workspace +init: + - ps: >- + $app = Get-WmiObject -Class Win32_Product -Filter "Vendor = 'http://golang.org'" + + if ($app) { + $app.Uninstall() + } + install: + - appveyor DownloadFile https://storage.googleapis.com/golang/go1.5.1.windows-amd64.msi + - msiexec /i go1.5.1.windows-amd64.msi /q - go version - go env - appveyor DownloadFile http://downloads.sourceforge.net/project/gnuwin32/tar/1.13-1/tar-1.13-1-bin.zip -FileName tar.zip From 6ddda5fc5ec9ea40d84640e4e40e919aa4b138b3 Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Sun, 27 Sep 2015 18:34:11 +0200 Subject: [PATCH 4/4] appveyor: remove old Go installation --- appveyor.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/appveyor.yml b/appveyor.yml index 36e0c1f1d..ec1794edd 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -12,6 +12,7 @@ init: } install: + - rmdir c:\go /s /q - appveyor DownloadFile https://storage.googleapis.com/golang/go1.5.1.windows-amd64.msi - msiexec /i go1.5.1.windows-amd64.msi /q - go version