Try 3 builds on Travis CI

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

View file

@ -4,7 +4,8 @@ services:
- docker - docker
language: generic language: generic
env: env:
- OPTIONS=--no-neovim - OPTIONS=--vim-only
- OPTIONS=--neovim-only - OPTIONS=--neovim-only
- OPTIONS=--linters-only
script: | script: |
./run-tests -v $OPTIONS ./run-tests -v $OPTIONS

View file

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