-
Notifications
You must be signed in to change notification settings - Fork 34
/
.appveyor.yml
32 lines (29 loc) · 1.21 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
version: '{build}'
clone_depth: 1
environment:
matrix:
- VIM_URL: https://vim-jp.org/redirects/koron/vim-kaoriya/vim74/oldest/win64/
- VIM_URL: https://github.com/vim/vim-win32-installer/releases/download/v8.0.0003/gvim_8.0.0003_x64.zip
- VIM_URL: https://github.com/vim/vim-win32-installer/releases/download/v8.1.0001/gvim_8.1.0001_x64.zip
- VIM_URL: https://github.com/vim/vim-win32-installer/releases/download/v8.2.0008/gvim_8.2.0008_x64.zip
- VIM_URL: https://vim-jp.org/redirects/vim/vim-win32-installer/latest/x64/
install:
- ps: |
$zip = $Env:APPVEYOR_BUILD_FOLDER + '\vim.zip'
$vim = $Env:APPVEYOR_BUILD_FOLDER + '\vim\'
$url = $Env:VIM_URL
if ($url.Contains("vim-jp.org/redirects"))
{
$redirect = Invoke-WebRequest -URI $Env:VIM_URL
$url = $redirect.Links[0].href
}
(New-Object Net.WebClient).DownloadFile($url, $zip)
[Reflection.Assembly]::LoadWithPartialName('System.IO.Compression.FileSystem') > $null
[System.IO.Compression.ZipFile]::ExtractToDirectory($zip, $vim)
$Env:THEMIS_VIM = (Get-ChildItem -r -Filter 'vim.exe' $vim).FullName
build: off
test_script:
- ps: |
& $Env:THEMIS_VIM --version
.\bin\themis.bat --reporter dot
deploy: off