Skip to content

Commit 7f136b0

Browse files
committed
python3: avoid hardcode of arbitrary python version
Related issues: - Support Python 3 in Tarantool test suite tarantool/tarantool#5538 - Python 3 in tarantool-python tarantool/tarantool-python#181 tarantool/tarantool-python#186 - Use Python 3 in a test infrastructure tarantool/tarantool#5652 Closes #20
1 parent c3e2ee2 commit 7f136b0

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

.travis.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
language: python
2-
python: 2.7
2+
3+
python:
4+
- "2.7"
5+
- "3.4"
6+
- "3.5"
7+
- "3.6"
8+
- "3.7"
9+
- "3.8"
10+
- "3.8-dev"
311

412
before_install:
513
- sudo apt update -y

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ default:
55
lint: flake8 luacheck
66

77
flake8:
8-
python2 -m flake8 *.py lib/*.py
8+
python -m flake8 *.py lib/*.py
99

1010
luacheck:
1111
luacheck --config .luacheckrc .

test-run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python2
1+
#!/usr/bin/env python
22
"""Tarantool regression test suite front-end."""
33

44
from __future__ import absolute_import

0 commit comments

Comments
 (0)