2015-08-18 21:07:24 +00:00
|
|
|
clone_folder: c:\gopath\src\github.com\restic\restic
|
|
|
|
|
|
|
|
environment:
|
2015-08-18 21:19:42 +00:00
|
|
|
GOPATH: c:\gopath;c:\gopath\src\github.com\restic\restic\Godeps\_workspace
|
2015-08-18 21:07:24 +00:00
|
|
|
|
2015-09-27 16:00:53 +00:00
|
|
|
init:
|
|
|
|
- ps: >-
|
|
|
|
$app = Get-WmiObject -Class Win32_Product -Filter "Vendor = 'http://golang.org'"
|
|
|
|
|
|
|
|
if ($app) {
|
|
|
|
$app.Uninstall()
|
|
|
|
}
|
|
|
|
|
2015-08-18 21:07:24 +00:00
|
|
|
install:
|
2015-09-27 16:34:11 +00:00
|
|
|
- rmdir c:\go /s /q
|
2016-01-27 23:00:28 +00:00
|
|
|
- appveyor DownloadFile https://storage.googleapis.com/golang/go1.5.3.windows-amd64.msi
|
|
|
|
- msiexec /i go1.5.3.windows-amd64.msi /q
|
2015-08-18 21:07:24 +00:00
|
|
|
- go version
|
|
|
|
- go env
|
2016-02-05 20:13:14 +00:00
|
|
|
- appveyor DownloadFile http://sourceforge.netcologne.de/project/gnuwin32/tar/1.13-1/tar-1.13-1-bin.zip -FileName tar.zip
|
2015-08-19 19:00:11 +00:00
|
|
|
- 7z x tar.zip bin/tar.exe
|
|
|
|
- set PATH=bin/;%PATH%
|
2015-08-18 21:07:24 +00:00
|
|
|
|
|
|
|
build_script:
|
2015-08-19 18:45:54 +00:00
|
|
|
- go run run_integration_tests.go
|