Skip to content

Commit 413fbfd

Browse files
authored
Merge pull request #134 from blueyed/ci-test-python
ci: test with Python 3 also
2 parents 280f30c + e819635 commit 413fbfd

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 checkpy 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
@@ -25,8 +25,9 @@ test:
2525
js/test: js/vimlparser.js
2626
test/run_command.sh node js/vimlparser.js
2727

28+
py/test: TEST_PYTHON?=python
2829
py/test: py/vimlparser.py
29-
test/run_command.sh python py/vimlparser.py
30+
test/run_command.sh $(TEST_PYTHON) py/vimlparser.py
3031

3132
test/node_position/test_position.out: test/node_position/test_position.vim test/node_position/test_position.ok
3233
vim -Nu test/vimrc -S test/node_position/test_position.vim

0 commit comments

Comments
 (0)