summaryrefslogtreecommitdiff
path: root/tox.ini
blob: 4251a6d1a7b3f03cbc6c823cd62c207c9fb58478 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
[tox]
envlist = begin,py27,py34,py35,py36,py37,py38,pypy,pypy3,incompatible-lzma,end
# we operate on sources anyway
skipsdist = True

[testenv:begin]
deps =
	coverage
	pyflakes
commands =
	coverage erase
	pyflakes gemato tests

[testenv:incompatible-lzma]
basepython = python2.7

[testenv]
deps =
	coverage
	pytest
	pytest-xdist
	py27,py34,py35,pypy,pypy3,incompatible-lzma: 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 pytest -vv -n auto {posargs}

[testenv:end]
deps =
	coverage
	wheel
commands =
	coverage combine
	coverage html
	coverage report
	python setup.py sdist bdist_wheel

[testenv:upload]
deps =
	wheel
commands =
	python setup.py sdist bdist_wheel upload