From 338c233710b38f624ac9189ce3d456a0d52ff972 Mon Sep 17 00:00:00 2001 From: w0rp Date: Mon, 23 Jul 2018 22:28:22 +0100 Subject: [PATCH] Split Vim and Neovim tests into separate builds --- .travis.yml | 5 ++++- run-tests | 6 ++++++ 2 files changed, 10 insertions(+), 1 deletion(-) 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'