From e1b71a2f196d566a81c85d1bce02acb8d252086c Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Sat, 7 Oct 2017 21:45:40 +0200 Subject: [PATCH 1/1] Improve tests (#93) * Travis: use "make test" * Travis: do not start Xvfb * Makefile: make test fast, add test_slow --- .travis.yml | 3 +-- Makefile | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 53118ab..c9b29ca 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,7 +14,6 @@ branches: before_script: - pip install --user vim-vint - vim --version - - Xvfb :99 & script: - - VIMRUNNER_REUSE_SERVER=1 DISPLAY=:99 bundle exec rspec spec + - make test - vint **/*.vim diff --git a/Makefile b/Makefile index 8822dca..5099a58 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,8 @@ test: - VIMRUNNER_REUSE_SERVER=0 bundle exec rspec - -test_fast: VIMRUNNER_REUSE_SERVER=1 xvfb-run bundle exec rspec +test_slow: + VIMRUNNER_REUSE_SERVER=0 bundle exec rspec + test_visible: VIMRUNNER_REUSE_SERVER=1 bundle exec rspec -- 2.39.5