summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-07-16 14:38:44 +0200
committerMichał Górny <mgorny@gentoo.org>2018-07-16 14:44:04 +0200
commit5c453073bf49a8ca9de788a81d1d4bb8c5a6ec33 (patch)
tree61dfff4a7409992f3bb9f27bf80bb8708d7d7841 /tox.ini
parentf0d1bb4976d8e320e066bb5e1d87421914b42bf6 (diff)
downloadgemato-5c453073bf49a8ca9de788a81d1d4bb8c5a6ec33.tar.gz
tox: Simplify dependency specifications
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini52
1 files changed, 8 insertions, 44 deletions
diff --git a/tox.ini b/tox.ini
index c14d8b8..f6f2531 100644
--- a/tox.ini
+++ b/tox.ini
@@ -11,56 +11,20 @@ commands =
coverage erase
pyflakes gemato tests
-[testenv:py27]
-deps =
- backports.lzma
- bz2file
- coverage
- pyblake2
- pysha3
-
-[testenv:py34]
-deps =
- coverage
- pyblake2
- pysha3
-
-[testenv:py35]
-deps =
- coverage
- pyblake2
- pysha3
-
-[testenv:py36]
-# blake2 & sha3 are built-in
-deps =
- coverage
-
-[testenv:pypy]
-deps =
- backports.lzma!=0.0.9
- bz2file
- coverage
- pyblake2
- pysha3
-
-[testenv:pypy3]
-# note: pyblake2, pysha3 don't build
-deps =
- coverage
+[testenv:incompatible-lzma]
+basepython = python2.7
[testenv:nodeps]
basepython = python2.7
-deps =
- coverage
-[testenv:incompatible-lzma]
-basepython = python2.7
+[testenv]
deps =
coverage
- pyliblzma
-
-[testenv]
+ py27,py34,py35,pypy: pyblake2
+ py27,py34,py35,pypy: pysha3
+ py27,pypy: backports.lzma!=0.0.9
+ py27,pypy: bz2file
+ incompatible-lzma: pyliblzma
commands = coverage run --concurrency=multiprocessing -p -m unittest discover -v
[testenv:end]