mirror of
https://github.com/octoleo/restic.git
synced 2024-11-20 03:51:02 +00:00
Merge pull request #309 from restic/update-ci-go-version
Update Go 1.4 to version 1.4.3
This commit is contained in:
commit
e738d35c4e
@ -3,7 +3,7 @@ sudo: false
|
|||||||
|
|
||||||
go:
|
go:
|
||||||
- 1.3.3
|
- 1.3.3
|
||||||
- 1.4.2
|
- 1.4.3
|
||||||
- 1.5.1
|
- 1.5.1
|
||||||
|
|
||||||
os:
|
os:
|
||||||
|
11
appveyor.yml
11
appveyor.yml
@ -3,7 +3,18 @@ clone_folder: c:\gopath\src\github.com\restic\restic
|
|||||||
environment:
|
environment:
|
||||||
GOPATH: c:\gopath;c:\gopath\src\github.com\restic\restic\Godeps\_workspace
|
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:
|
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
|
- go version
|
||||||
- go env
|
- go env
|
||||||
- appveyor DownloadFile http://downloads.sourceforge.net/project/gnuwin32/tar/1.13-1/tar-1.13-1-bin.zip -FileName tar.zip
|
- appveyor DownloadFile http://downloads.sourceforge.net/project/gnuwin32/tar/1.13-1/tar-1.13-1-bin.zip -FileName tar.zip
|
||||||
|
@ -24,6 +24,7 @@ type TravisEnvironment struct {
|
|||||||
func (env *TravisEnvironment) Prepare() {
|
func (env *TravisEnvironment) Prepare() {
|
||||||
msg("preparing environment for Travis CI\n")
|
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/mattn/goveralls")
|
||||||
run("go", "get", "github.com/mitchellh/gox")
|
run("go", "get", "github.com/mitchellh/gox")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user