Skip to content

Commit 5ed7713

Browse files
committed
Update tox.ini to use py37,py38 instead of ci37,ci38
As defined in the tox documentation (https://tox.readthedocs.io/en/latest/config.html#tox-environments), environment with names "pyNM" have special meaning and implicitly define the Python interpreter. Environment names ci37 and ci38 don't have any special meaning and run the default version of the interpreter. This results in that that both environments use the same interpreter locally. The PR changes the names of environments to make sure that tox creates a virtual environment with the correct interpreter version.
1 parent 7447a4f commit 5ed7713

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ sudo: false
66
matrix:
77
include:
88
- python: "3.7"
9-
env: TOXENV=ci37
9+
env: TOXENV=py37
1010
- python: "3.8"
11-
env: TOXENV=ci38
11+
env: TOXENV=py38
1212

1313
cache:
1414
- pip

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = ci37,ci38,cov-report
2+
envlist = py37,py38,cov-report
33

44

55
[testenv]

0 commit comments

Comments
 (0)