summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml5
-rwxr-xr-xrun-tests6
2 files changed, 10 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 0f006e4c..e236b9ec 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -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
diff --git a/run-tests b/run-tests
index 06fa3547..b64b7195 100755
--- a/run-tests
+++ b/run-tests
@@ -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'