-
Notifications
You must be signed in to change notification settings - Fork 4
/
appveyor.yml
55 lines (29 loc) · 1.33 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
version: 1.0.{build}
clone_depth: 1
build: off
test_script:
- ps: >-
git clone --quiet --depth 1 https://github.com/thinca/vim-themis.git themis
$zip_latest = $Env:APPVEYOR_BUILD_FOLDER + '\vim_latest.zip'
$vim_latest = $Env:APPVEYOR_BUILD_FOLDER + '\vim_latest'
$zip_old = $Env:APPVEYOR_BUILD_FOLDER + '\vim_old.zip'
$vim_old = $Env:APPVEYOR_BUILD_FOLDER + '\vim_old'
(New-Object Net.WebClient).DownloadFile('http://files.kaoriya.net/vim/vim74-kaoriya-win64.zip', $zip_latest)
(New-Object Net.WebClient).DownloadFile('http://files.kaoriya.net/vim/vim73-kaoriya-win64.zip', $zip_old)
[Reflection.Assembly]::LoadWithPartialName('System.IO.Compression.FileSystem') > $null
[System.IO.Compression.ZipFile]::ExtractToDirectory($zip_latest, $vim_latest)
[System.IO.Compression.ZipFile]::ExtractToDirectory($zip_old, $vim_old)
$Env:THEMIS_VIM = $vim_latest + '\vim74-kaoriya-win64\vim.exe'
& $Env:THEMIS_VIM --version
.\themis\bin\themis.bat
if ($?) {
.\test\dot-repeat\test_dot.bat
if ($?) {
$Env:THEMIS_VIM = $vim_old + '\vim73-kaoriya-win64\vim.exe'
& $Env:THEMIS_VIM --version
.\themis\bin\themis.bat
if ($?) {
.\test\dot-repeat\test_dot.bat
}
}
}