From: Daniel Hahler Date: Sat, 7 Oct 2017 19:45:40 +0000 (+0200) Subject: Improve tests (#93) X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/e1b71a2f196d566a81c85d1bce02acb8d252086c?ds=inline;hp=-c Improve tests (#93) * Travis: use "make test" * Travis: do not start Xvfb * Makefile: make test fast, add test_slow --- e1b71a2f196d566a81c85d1bce02acb8d252086c 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