1 |
commit: c852f0aed0d86178a5ebb3f30e50692f2657dcee |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 1 05:58:29 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 1 08:37:56 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=c852f0ae |
7 |
|
8 |
Add a tox.ini to support running tests via tox |
9 |
|
10 |
tox is the common Pythonic tool for running tests against multiple |
11 |
interpreters. It integrates well with virtualenv, making testing |
12 |
trivial on practically any system. Add a tox.ini file so users can take |
13 |
advantage of it. |
14 |
|
15 |
Reviewed-by: Zac Medico <zmedico <AT> gentoo.org> |
16 |
|
17 |
tox.ini | 16 ++++++++++++++++ |
18 |
1 file changed, 16 insertions(+) |
19 |
|
20 |
diff --git a/tox.ini b/tox.ini |
21 |
new file mode 100644 |
22 |
index 000000000..cafdb0045 |
23 |
--- /dev/null |
24 |
+++ b/tox.ini |
25 |
@@ -0,0 +1,16 @@ |
26 |
+[tox] |
27 |
+envlist = py27,py34,py35,py36,pypy,pypy3 |
28 |
+skipsdist = True |
29 |
+ |
30 |
+[testenv] |
31 |
+deps = |
32 |
+ lxml!=4.2.0 |
33 |
+ pygost |
34 |
+ pyyaml |
35 |
+ py27,py34,py35,pypy: pyblake2 |
36 |
+ py27,py34,py35,pypy: pysha3 |
37 |
+setenv = |
38 |
+ PYTHONPATH={toxinidir}/lib |
39 |
+commands = |
40 |
+ python -b -Wd setup.py test |
41 |
+ python -b -Wd repoman/setup.py test |