-
Notifications
You must be signed in to change notification settings - Fork 24
/
.appveyor.yml
35 lines (29 loc) · 1.02 KB
/
.appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
version: '{build}'
clone_depth: 1
platform: x64
clone_folder: c:\gopath\src\github.com\vim-volt\volt
environment:
GOPATH: c:\gopath
GOROOT: C:\go19
VIM_URL: http://vim-jp.org/redirects/koron/vim-kaoriya/vim80/oldest/win64/
install:
- set PATH=%GOPATH%\bin;%GOROOT%\bin;%PATH%
- echo %PATH%
- echo %GOPATH%
- go version
- go env
# Install vim
# https://github.com/vim-jp/vital.vim/blob/master/appveyor.yml
- ps: |
$zip = $Env:APPVEYOR_BUILD_FOLDER + '\vim.zip'
$vim = $Env:APPVEYOR_BUILD_FOLDER + '\vim\'
$redirect = Invoke-WebRequest -URI $Env:VIM_URL
(New-Object Net.WebClient).DownloadFile($redirect.Links[0].href, $zip)
[Reflection.Assembly]::LoadWithPartialName('System.IO.Compression.FileSystem') > $null
[System.IO.Compression.ZipFile]::ExtractToDirectory($zip, $vim)
$Env:VOLT_VIM = $vim + (Get-ChildItem $vim).Name + '\vim.exe'
test_script:
- go build -o c:\gopath\src\github.com\vim-volt\volt\bin\volt.exe
- go test -v -race -parallel 3 ./...
build: off
deploy: off