2
2
mirror of https://github.com/octoleo/restic.git synced 2024-10-31 19:02:32 +00:00
restic/appveyor.yml

33 lines
707 B
YAML
Raw Normal View History

2016-02-20 15:56:58 +00:00
clone_folder: c:\restic
2015-08-18 21:07:24 +00:00
environment:
2016-02-20 15:56:58 +00:00
GOPATH: c:\gopath
2015-08-18 21:07:24 +00:00
2016-12-30 14:20:09 +00:00
branches:
only:
- master
2018-08-31 19:18:31 +00:00
cache:
2018-09-02 11:26:02 +00:00
- '%LocalAppData%\go-build'
2018-08-31 19:18:31 +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
2019-11-20 17:32:58 +00:00
- appveyor DownloadFile https://dl.google.com/go/go1.13.4.windows-amd64.msi
- msiexec /i go1.13.4.windows-amd64.msi /q
2015-08-18 21:07:24 +00:00
- 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
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:
2018-08-05 19:05:15 +00:00
- go run -mod=vendor run_integration_tests.go