summaryrefslogtreecommitdiffstats
path: root/vio/tox.ini
diff options
context:
space:
mode:
authorEthan Lynn <xuanlangjian@gmail.com>2019-09-06 13:42:16 +0800
committerEthan Lynn <xuanlangjian@gmail.com>2019-09-06 16:46:26 +0800
commitf8eb83d7f0f406d79aede856b92fbc5a0461d1c3 (patch)
tree67dee8d66f4d246fcd5b43f00d03b700dfd263e0 /vio/tox.ini
parent32982a84a29b62716f9d5d93a209c0db9f086467 (diff)
Drop python 2 support
Use python3 as default python version Change-Id: I82c95b7ae21ef0bc2a4bdca2536e35affbc5c9f5 Issue-ID: MULTICLOUD-706 Signed-off-by: Ethan Lynn <xuanlangjian@gmail.com>
Diffstat (limited to 'vio/tox.ini')
-rw-r--r--vio/tox.ini14
1 files changed, 8 insertions, 6 deletions
diff --git a/vio/tox.ini b/vio/tox.ini
index 8fd499e..b4ff684 100644
--- a/vio/tox.ini
+++ b/vio/tox.ini
@@ -11,7 +11,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
[tox]
-envlist = py27,py36,pep8
+envlist = py36,pep8
skipsdist = true
[tox:jenkins]
@@ -24,20 +24,22 @@ deps =
commands =
/usr/bin/find . -type f -name "*.py[c|o]" -delete
- python manage.py test vio
+ {basepython} manage.py test vio
[testenv:pep8]
+basepython = python3
deps=flake8
commands=flake8
-[testenv:py27]
-commands =
- {[testenv]commands}
+# [testenv:py36]
+# commands =
+# {[testenv]commands}
[testenv:cover]
+basepython = python3.6
setenv=
DJANGO_SETTINGS_MODULE = vio.settings-cover
commands =
coverage erase
{[testenv]commands}
- coverage xml -i \ No newline at end of file
+ coverage xml -i