forked from vim-jp/vital.vim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
47 lines (45 loc) · 2.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
version: '{build}'
clone_depth: 10
environment:
matrix:
- VIM_URL: http://vim-jp.org/redirects/koron/vim-kaoriya/vim80/oldest/win64/
THEMIS_PROFILE: vim-profile-win-v8.0.txt
- VIM_URL: http://vim-jp.org/redirects/koron/vim-kaoriya/latest/win64/
THEMIS_PROFILE: vim-profile-win-latest.txt
# To test with latest official Vim binary, uncomment below line.
#- VIM_URL: http://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\'
$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:THEMIS_VIM = $vim + (Get-ChildItem $vim).Name + '\vim.exe'
- 'git -c advice.detachedHead=false clone https://github.com/Shougo/vimproc.vim --quiet --branch ver.9.2 --single-branch --depth 1 %TEMP%\vimproc'
- 'appveyor DownloadFile https://github.com/Shougo/vimproc.vim/releases/download/ver.9.2/vimproc_win64.dll -FileName %TEMP%\vimproc\lib\vimproc_win64.dll'
- 'git -c advice.detachedHead=false clone https://github.com/thinca/vim-themis --quiet --branch v1.5.4 --single-branch --depth 1 %TEMP%\vim-themis'
- 'reg copy HKLM\SOFTWARE\Python\PythonCore\2.7 HKLM\SOFTWARE\Python\PythonCore\2.7-32 /s /reg:32'
- 'reg copy HKLM\SOFTWARE\Python\PythonCore\2.7 HKLM\SOFTWARE\Python\PythonCore\2.7-32 /s /reg:64'
build: off
test_script:
- '%THEMIS_VIM% --version'
- '%TEMP%\vim-themis\bin\themis.bat --runtimepath %TEMP%\vimproc --exclude ConcurrentProcess --reporter dot'
after_test:
- "SET PATH=C:\\Python34;C:\\Python34\\Scripts;%PATH%"
- pip install codecov
- pip install covimerage
- covimerage write_coverage %THEMIS_PROFILE%
- coverage xml
- codecov -f coverage.xml
deploy: off
notifications:
- provider: Webhook
url: http://appveyor.herokuapp.com/vim
headers:
User-Agent: appveyor-lingrbot 1.0
Authorization:
secure: cjzTMN7bP3fkRnz6S0ZRjc0Q3nPPvdJ7AXrizCQBKK0=
on_build_success: false
on_build_failure: true