From fbc846b4ba727d1ac579956cdccd550597b522c8 Mon Sep 17 00:00:00 2001 From: w0rp Date: Wed, 6 Sep 2017 23:28:39 +0100 Subject: [PATCH] Try and get AppVeyor to run a single test --- .appveyor.yml | 2 ++ test/vimrc | 16 ++++++++++++---- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 1724db59..394aef9c 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -26,4 +26,6 @@ install: - cd C:\ test_script: + - cd C:\projects\ale - C:\vim\vim\vim80\vim.exe --version + - 'C:\vim\vim\vim80\vim.exe -u test\vimrc "+Vader! test/test_path_uri.vader"' diff --git a/test/vimrc b/test/vimrc index 8dadb4f2..a0b8c8d9 100644 --- a/test/vimrc +++ b/test/vimrc @@ -1,17 +1,25 @@ " vint: -ProhibitSetNoCompatible -" Make most tests just set lists synchronously when run in Docker. +" Make most tests just set lists synchronously when run in Docker, etc. let g:ale_set_lists_synchronously = 1 " Load builtin plugins " We need this because run_vim.sh sets -i NONE -set runtimepath=/home/vim,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,/testplugin,/vader +if has('win32') + set runtimepath=$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,C:\vader,C:\projects\ale +else + set runtimepath=/home/vim,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,/testplugin,/vader +endif " The following is just an example filetype plugin indent on syntax on -set shell=/bin/sh -set shellcmdflag=-c + +if !has('win32') + set shell=/bin/sh + set shellcmdflag=-c +endif + set nocompatible set tabstop=4 set softtabstop=4