forked from googlefonts/ufo2ft
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
38 lines (35 loc) · 845 Bytes
/
tox.ini
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
[tox]
envlist = py{27,37}-cov, htmlcov
[testenv]
deps =
cov: coverage
pytest
-rrequirements.txt
extras =
pathops
; download the latest pip, setuptools and wheel when creating the venv
download = true
commands =
# run the test suite against the package installed inside tox env.
# We use parallel mode and then combine later so that coverage.py will take
# paths like .tox/py36/lib/python3.6/site-packages/fontTools and collapse
# them into Lib/fontTools.
cov: coverage run --parallel-mode -m pytest {posargs}
nocov: pytest {posargs}
[testenv:htmlcov]
deps =
coverage
skip_install = true
commands =
coverage combine
coverage html
[testenv:codecov]
passenv = *
deps =
coverage
codecov
skip_install = true
ignore_outcome = true
commands =
coverage combine
codecov --env TOXENV