2017-09-05 21:26:14 +00:00
|
|
|
---
|
2017-09-06 18:53:53 +00:00
|
|
|
# Disabling building for AppVeyor. We are just testing things.
|
|
|
|
build: false
|
2017-09-06 18:47:11 +00:00
|
|
|
clone_depth: 10
|
|
|
|
|
2017-09-06 22:55:58 +00:00
|
|
|
# Cache the vim and vader directories between builds.
|
|
|
|
cache:
|
|
|
|
- C:\vim -> .appveyor.yml
|
|
|
|
- C:\vader -> .appveyor.yml
|
|
|
|
|
2017-09-06 18:47:11 +00:00
|
|
|
init:
|
2017-09-05 22:13:33 +00:00
|
|
|
# Stop git from changing newlines
|
|
|
|
- git config --global core.autocrlf input
|
2017-09-05 21:26:14 +00:00
|
|
|
|
2017-09-06 18:47:11 +00:00
|
|
|
install:
|
|
|
|
# Download and unpack Vim
|
2017-09-06 22:43:49 +00:00
|
|
|
- ps: >-
|
2017-09-06 22:45:05 +00:00
|
|
|
if (!(Test-Path -Path C:\vim)){
|
2017-09-06 22:43:49 +00:00
|
|
|
Add-Type -A System.IO.Compression.FileSystem
|
|
|
|
Invoke-WebRequest ftp://ftp.vim.org/pub/vim/pc/vim80-586w32.zip `
|
|
|
|
-OutFile C:\vim.zip
|
|
|
|
[IO.Compression.ZipFile]::ExtractToDirectory('C:\vim.zip', 'C:\vim')
|
|
|
|
Invoke-WebRequest ftp://ftp.vim.org/pub/vim/pc/vim80-586rt.zip `
|
|
|
|
-OutFile C:\rt.zip
|
|
|
|
[IO.Compression.ZipFile]::ExtractToDirectory('C:\rt.zip', 'C:\vim')
|
|
|
|
}
|
2017-09-06 22:47:51 +00:00
|
|
|
# Clone Vader and check out the commit we want
|
|
|
|
- ps: >-
|
|
|
|
if (!(Test-Path -Path C:\vader)){
|
2017-09-06 22:52:57 +00:00
|
|
|
git clone https://github.com/junegunn/vader.vim C:\vader 2> $null
|
2017-09-06 22:47:51 +00:00
|
|
|
cd C:\vader
|
2017-09-06 22:52:57 +00:00
|
|
|
git checkout -qf c6243dd81c98350df4dec608fa972df98fa2a3af 2> $null
|
2017-09-06 22:47:51 +00:00
|
|
|
}
|
2017-09-05 22:00:42 +00:00
|
|
|
|
2017-09-05 21:26:14 +00:00
|
|
|
test_script:
|
2017-09-06 22:28:39 +00:00
|
|
|
- cd C:\projects\ale
|
|
|
|
- 'C:\vim\vim\vim80\vim.exe -u test\vimrc "+Vader! test/test_path_uri.vader"'
|