From ffec4d7fc55c096b2e5835a64c02ae6eb0e1a0d7 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Sun, 29 Jul 2018 20:56:21 +0200 Subject: [PATCH] Test with Neovim --- .travis.yml | 11 ++++++++++- Makefile | 3 +++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 37cdad3..3384f24 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,11 +5,20 @@ env: matrix: - ENV=test - ENV=check + - ENV=test_nvim install: - | if [ "$ENV" = "test" ]; then python3.6 -m pip install pytest fi + - | + # https://github.com/neovim/bot-ci#generated-builds + if [ "$ENV" = "test_nvim" ]; then + eval "$(curl -Ss https://raw.githubusercontent.com/neovim/bot-ci/master/scripts/travis-setup.sh) nightly-x64" + pip --version + pip install neovim + else + vim --version + fi script: - - vim --version - make --keep-going "$ENV" diff --git a/Makefile b/Makefile index ed049c6..bae7bc4 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,9 @@ test: pytest test_*.py +test_nvim: + VSPEC_VIM=nvim pytest test_*.py + build: mkdir $@