summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-09-06 23:28:39 +0100
committerw0rp <devw0rp@gmail.com>2017-09-06 23:28:39 +0100
commitfbc846b4ba727d1ac579956cdccd550597b522c8 (patch)
treefa6c699cea99ff85e1dcd738b66d2f82a3265424
parentdd77b6eac5cdb08b1c75aae2f339baa9f313604c (diff)
downloadale-fbc846b4ba727d1ac579956cdccd550597b522c8.zip
Try and get AppVeyor to run a single test
-rw-r--r--.appveyor.yml2
-rw-r--r--test/vimrc16
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