From 5ed7713fc8e2ff5bcc1fa59f776fa49c79749b75 Mon Sep 17 00:00:00 2001 From: Roman Imankulov Date: Wed, 12 Aug 2020 18:21:39 +0100 Subject: [PATCH] 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. --- .travis.yml | 4 ++-- tox.ini | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index ba68fde3..0e8de47f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,9 +6,9 @@ sudo: false matrix: include: - python: "3.7" - env: TOXENV=ci37 + env: TOXENV=py37 - python: "3.8" - env: TOXENV=ci38 + env: TOXENV=py38 cache: - pip diff --git a/tox.ini b/tox.ini index d86eeec9..cfbc689a 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = ci37,ci38,cov-report +envlist = py37,py38,cov-report [testenv]