Try to download and unpack a Vim console binary for AppVeyor

This commit is contained in:
w0rp 2017-09-06 19:47:11 +01:00
parent 03f1c1e81b
commit a9823cbfd5
1 changed files with 13 additions and 15 deletions

View File

@ -1,20 +1,18 @@
---
install:
# Stop git from changing newlines
- git config --global core.autocrlf input
# Set up the build environment
- '"C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd"
/x64 /release'
# Build Vim
- cd C:\
- git clone https://github.com/vim/vim
- cd vim
- git checkout v8.0.0027
- cd src
- 'nmake -f Make_mvc.mak CPU=AMD64 OLE=no GUI=no IME=yes MBYTE=yes
ICONV=yes DEBUG=no FEATURES=NORMAL'
clone_depth: 10
init:
# Stop git from changing newlines
- git config --global core.autocrlf input
install:
# Download and unpack Vim
- cd C:\
- ps: 'Invoke-WebRequest ftp://ftp.vim.org/pub/vim/pc/vim80-586w32.zip
-OutFile C:\vim.zip'
- ps: Add-Type -A System.IO.Compression.FileSystem
- ps: "[IO.Compression.ZipFile]::ExtractToDirectory('vim.zip', 'vim')"
test_script:
- C:\vim\vim80\vim.exe --version
- echo hello world