Skip to content

Commit 9012094

Browse files
committed
fixup! fixup! test python with 2.7, 3.4
1 parent fc9c331 commit 9012094

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.travis.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@ dist: xenial
33
git:
44
depth: 10
55

6-
python:
7-
- "2.7"
8-
- "3.4"
9-
106
jobs:
117
include:
128
- name: Vim 7.4
@@ -25,8 +21,12 @@ jobs:
2521
- MAKE_TARGET=test
2622
- TEST_PROFILE=vim-profile-master.txt
2723
- name: Installed Vim with checks
24+
python:
25+
- "2.7"
26+
- "3.4"
2827
env:
2928
- VIM_VERSION=installed
29+
- VIMLPARSER_PYTHON_LIST='python2.7 python3.4'
3030
- MAKE_TARGET="clean_compiled check js/test py/test test/node_position/test_position.out"
3131
- TEST_PROFILE=vim-profile-installed.txt
3232

@@ -39,7 +39,6 @@ install:
3939
- pip install covimerage --user
4040

4141
script:
42-
- env
4342
- uname -a
4443
- which -a vim
4544
- vim --cmd version --cmd quit

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ js/test: js/vimlparser.js
2323
test/run_command.sh node js/vimlparser.js
2424

2525
py/test: py/vimlparser.py
26-
test/run_command.sh python2.7 py/vimlparser.py
26+
for python in $(VIMLPARSER_PYTHON_LIST); do \
27+
test/run_command.sh $$python py/vimlparser.py; \
28+
done
2729

2830
test/node_position/test_position.out: test/node_position/test_position.vim test/node_position/test_position.ok
2931
vim -Nu test/vimrc -S test/node_position/test_position.vim

0 commit comments

Comments
 (0)