aboutsummaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2019-08-07 21:57:02 +0200
committerAnthon van der Neut <anthon@mnt.org>2019-08-07 21:57:02 +0200
commitd6f7a1435f339bb48f2f62b120bc43fea7b09225 (patch)
treecc2df5acfc81e7f2a94a6205ef6212e242350a55 /tox.ini
parent07612fb1b9c7ef9c3fad1246fd991c5a8d91ef14 (diff)
downloadruamel-yaml-clib-code-d6f7a1435f339bb48f2f62b120bc43fea7b09225.tar.gz
prevent -nspkg.pth file from being generated0.1.1
Diffstat (limited to 'tox.ini')
-rwxr-xr-xtox.ini42
1 files changed, 42 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
new file mode 100755
index 0000000..52b4090
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,42 @@
+[tox]
+# toxworkdir = /data1/DATA/tox/ruamel.yaml.clib
+envlist = cs,py37,py27,py36,py35,py38,pypy,py27m
+
+[testenv]
+skip_install = True
+commands =
+ python setup.py bdist_wheel -d /data1/DATA/tox/ruamel.yaml.clib/dist/
+ pip install --upgrade --find-links=/data1/DATA/tox/ruamel.yaml.clib/dist/ ruamel.yaml.clib
+deps =
+ pytest
+ wheel
+
+[testenv:py27m]
+basepython = /opt/python/2.7.15m/bin/python
+
+[testenv:cs]
+basepython = python3.6
+deps =
+ flake8
+ flake8-bugbear;python_version>="3.5"
+commands =
+ flake8 []{posargs}
+
+[testenv:pep8]
+basepython = python3.6
+deps =
+ flake8
+ flake8-bugbear;python_version>="3.5"
+commands =
+ flake8 []{posargs}
+
+[flake8]
+show-source = True
+max-line-length = 95
+ignore = W503,F405,E203
+exclude = .hg,.git,.tox,dist,.cache,__pycache__,ruamel.zip2tar.egg-info
+
+[pytest]
+filterwarnings =
+ error::DeprecationWarning
+ error::PendingDeprecationWarning