-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
appveyor.yml
27 lines (27 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
version: 1.0.{build}
build: off
deploy: off
skip_tags: true
clone_depth: 1
environment:
matrix:
- VIM_URL: http://files.kaoriya.net/vim/vim74-kaoriya-win64.zip
- VIM_URL: http://files.kaoriya.net/vim/2011/vim73-kaoriya-win64-20110306.zip
install:
- git clone --quiet https://github.com/thinca/vim-themis --branch v1.4.1 --single-branch --depth 1 themis
- git clone --quiet https://github.com/vim-jp/vital.vim.git vital
- git clone --quiet https://github.com/haya14busa/vital-vimlcompiler vital-vimlcompiler
- git clone --quiet https://github.com/haya14busa/vital-safe-string vital-safe-string
- ps: |
$zip = $Env:APPVEYOR_BUILD_FOLDER + '\vim.zip'
$vim = $Env:APPVEYOR_BUILD_FOLDER + '\vim\'
(New-Object Net.WebClient).DownloadFile($Env:VIM_URL, $zip)
[Reflection.Assembly]::LoadWithPartialName('System.IO.Compression.FileSystem') > $null
[System.IO.Compression.ZipFile]::ExtractToDirectory($zip, $vim)
$Env:THEMIS_VIM = $vim + (Get-ChildItem $vim).Name + '\vim.exe'
before_test:
- ps: |
& $Env:THEMIS_VIM --version
test_script:
- ps: |
.\themis\bin\themis.bat -r --runtimepath vital --runtimepath vital-vimlcompiler --runtimepath vital-safe-string --reporter spec