Skip to content

Commit

Permalink
Update example of appveyor.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
thinca committed Mar 21, 2016
1 parent 9dd7253 commit f493579
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
4 changes: 0 additions & 4 deletions appveyor.yml
Expand Up @@ -4,10 +4,6 @@ environment:
matrix:
- VIM_URL: http://vim-jp.org/redirects/koron/vim-kaoriya/latest/win64/
- VIM_URL: http://vim-jp.org/redirects/koron/vim-kaoriya/vim73/oldest/win64/
# To test with 7.3 final +kaoriya Vim binary, uncomment below line.
#- VIM_URL: http://vim-jp.org/redirects/koron/vim-kaoriya/vim73/final/win64/
# 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'
Expand Down
11 changes: 9 additions & 2 deletions examples/ci/appveyor.yml
@@ -1,13 +1,20 @@
version: '{build}'
clone_depth: 1
environment:
VIM_URL: http://files.kaoriya.net/vim/vim74-kaoriya-win64.zip
- VIM_URL: http://vim-jp.org/redirects/koron/vim-kaoriya/latest/win64/
# To test with 7.3 oldest +kaoriya Vim binary, uncomment below line.
#- VIM_URL: http://vim-jp.org/redirects/koron/vim-kaoriya/vim73/oldest/win64/
# To test with 7.3 final +kaoriya Vim binary, uncomment below line.
#- VIM_URL: http://vim-jp.org/redirects/koron/vim-kaoriya/vim73/final/win64/
# 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\'
(New-Object Net.WebClient).DownloadFile($Env:VIM_URL, $zip)
$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)
Expand Down

0 comments on commit f493579

Please sign in to comment.