Skip to content

Commit e819635

Browse files
committed
ci: test with Python 3 also
Fixes #131
1 parent 9cde691 commit e819635

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525
- VIM_VERSION=installed
2626
- MAKE_TARGET="clean_compiled check js/test py/test test/node_position/test_position.out"
2727
- TEST_PROFILE=vim-profile-installed.txt
28+
- TEST_PYTHON=python3
2829

2930
install:
3031
- |

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@ test:
2222
js/test: js/vimlparser.js
2323
test/run_command.sh node js/vimlparser.js
2424

25+
py/test: TEST_PYTHON?=python
2526
py/test: py/vimlparser.py
26-
test/run_command.sh python py/vimlparser.py
27+
test/run_command.sh $(TEST_PYTHON) py/vimlparser.py
2728

2829
test/node_position/test_position.out: test/node_position/test_position.vim test/node_position/test_position.ok
2930
vim -Nu test/vimrc -S test/node_position/test_position.vim

0 commit comments

Comments
 (0)