summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini21
1 files changed, 4 insertions, 17 deletions
diff --git a/tox.ini b/tox.ini
index 2f6b704..c09b65f 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,10 +1,10 @@
[tox]
-toworkdir = /data1/DATA/tox/ruamel.yaml
+# toworkdir = /data1/DATA/tox/ruamel.yaml
envlist = cs,py37,py27,py36,py35,py34,pypy,py27m
[testenv]
commands =
- /bin/bash -c 'pytest -ra _test/test_*.py'
+ /bin/bash -c 'pytest _test/test_*.py'
deps =
pytest
flake8==2.5.5
@@ -16,25 +16,12 @@ basepython = /opt/python/2.7.15m/bin/python
[testenv:cs]
basepython = python3.6
commands =
- flake8 --exclude .tox,jabsy,jinja2,base,cmd,convert{posargs}
-
-# deprecation warning
-[testenv:dw]
-basepython = python3.7
-commands =
- /bin/bash -c 'pytest _test/test_a*.py _test/test_z*.py'
-
-# deprecation warning fail
-[testenv:dwf]
-basepython = python3.7
-commands =
- /bin/sed 's/collections.abc/collections/' -i .tox/dwf/lib/python3.7/site-packages/ruamel/yaml/comments.py
- /bin/bash -c 'pytest --maxfail=2 _test/test_[a-vz]*.py'
+ flake8 --exclude ".tox,.#*,jabsy,jinja2,base,cmd,convert" {posargs}
[testenv:pep8]
basepython = python3.6
commands =
- flake8 --exclude .tox,jabsy,jinja2,base,cmd,convert{posargs}
+ flake8 --exclude ".tox,.#*,jabsy,jinja2,base,cmd,convert" {posargs}
[flake8]
show-source = True