Split Vim and Neovim tests into separate builds

This commit is contained in:
w0rp 2018-07-23 22:28:22 +01:00
parent 9ade656661
commit 338c233710
No known key found for this signature in database
GPG key ID: 0FC1ECAA8C81CD83
2 changed files with 10 additions and 1 deletions

View file

@ -3,5 +3,8 @@ sudo: required
services:
- docker
language: generic
env:
- OPTIONS=--no-neovim
- OPTIONS=--neovim-only
script: |
./run-tests -v
./run-tests -v $OPTIONS

View file

@ -56,6 +56,11 @@ while [ $# -ne 0 ]; do
run_linters=0
shift
;;
--no-neovim)
run_neovim_02_tests=0
run_neovim_03_tests=0
shift
;;
--vim-only)
run_neovim_02_tests=0
run_neovim_03_tests=0
@ -95,6 +100,7 @@ while [ $# -ne 0 ]; do
echo ' --neovim-only Run tests only for NeoVim 0.2 and 0.3'
echo ' --neovim-02-only Run tests only for NeoVim 0.2'
echo ' --neovim-03-only Run tests only for NeoVim 0.3'
echo ' --no-neovim Skip NeoVim tests'
echo ' --vim-only Run tests only for Vim 8.0 and 8.1'
echo ' --vim-80-only Run tests only for Vim 8.0'
echo ' --vim-81-only Run tests only for Vim 8.1'