Skip to content

Commit e1b71a2

Browse files
authored
Improve tests (#93)
* Travis: use "make test" * Travis: do not start Xvfb * Makefile: make test fast, add test_slow
1 parent 720eb2b commit e1b71a2

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.travis.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ branches:
1414
before_script:
1515
- pip install --user vim-vint
1616
- vim --version
17-
- Xvfb :99 &
1817
script:
19-
- VIMRUNNER_REUSE_SERVER=1 DISPLAY=:99 bundle exec rspec spec
18+
- make test
2019
- vint **/*.vim

Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
test:
2-
VIMRUNNER_REUSE_SERVER=0 bundle exec rspec
3-
4-
test_fast:
52
VIMRUNNER_REUSE_SERVER=1 xvfb-run bundle exec rspec
63

4+
test_slow:
5+
VIMRUNNER_REUSE_SERVER=0 bundle exec rspec
6+
77
test_visible:
88
VIMRUNNER_REUSE_SERVER=1 bundle exec rspec

0 commit comments

Comments
 (0)