]> git.madduck.net Git - etc/vim.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Improve tests (#93)
authorDaniel Hahler <github@thequod.de>
Sat, 7 Oct 2017 19:45:40 +0000 (21:45 +0200)
committerGitHub <noreply@github.com>
Sat, 7 Oct 2017 19:45:40 +0000 (21:45 +0200)
* Travis: use "make test"

* Travis: do not start Xvfb

* Makefile: make test fast, add test_slow

.travis.yml
Makefile

index 53118ab25fea29bd60d8c3f896232b1de54c21ca..c9b29ca30c8eda4a832a18844dbe1dccb3a5e9c5 100644 (file)
@@ -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
index 8822dcabbff72712800da29a27e242a92e505648..5099a58c63adf1b6e48d5d863a1977bbc31f1fef 100644 (file)
--- 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