-
-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathappveyor.yml
35 lines (17 loc) · 1.12 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: 1.0.{build}
build: off
test_script:
- ps: >-
git clone --quiet --depth 1 https://github.com/thinca/vim-themis.git themis
git clone --quiet --depth 1 https://github.com/vim-jp/vital.vim.git vital
git clone --quiet --depth 1 https://github.com/haya14busa/vital-vimlcompiler vital-vimlcompiler
git clone --quiet --depth 1 https://github.com/haya14busa/vital-safe-string vital-safe-string
git clone --quiet --depth 1 https://github.com/haya14busa/vital-power-assert vital-power-assert
$zip = $Env:APPVEYOR_BUILD_FOLDER + '\vim.zip'
$vim = $Env:APPVEYOR_BUILD_FOLDER + '\vim'
(New-Object Net.WebClient).DownloadFile('http://files.kaoriya.net/vim/vim74-kaoriya-win64.zip', $zip)
[Reflection.Assembly]::LoadWithPartialName('System.IO.Compression.FileSystem') > $null
[System.IO.Compression.ZipFile]::ExtractToDirectory($zip, $vim)
$Env:THEMIS_VIM = $vim + '\vim74-kaoriya-win64\vim.exe'
& $Env:THEMIS_VIM --version
.\themis\bin\themis.bat -r --runtimepath vital --runtimepath vital-vimlcompiler --runtimepath vital-safe-string --runtimepath vital-power-assert --reporter spec