-
Notifications
You must be signed in to change notification settings - Fork 5
/
tox.ini
32 lines (31 loc) · 884 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
[tox]
envlist = py36, py37, py38
[testenv]
whitelist_externals =
/usr/bin/xvfb-run
passenv =
CI
TRAVIS*
py36: CODACY_PROJECT_TOKEN
py37: CODACY_PROJECT_TOKEN
py38: CODACY_PROJECT_TOKEN
deps =
-r{toxinidir}/requirements/test.txt
py36: -r{toxinidir}/requirements/test_black.txt
py37: -r{toxinidir}/requirements/test_black.txt
py38: -r{toxinidir}/requirements/test_black.txt
commands =
pip install -U pip
xvfb-run pytest
py36: flake8 .
py36: black -l 100 --check .
py36: python setup.py check -r -s
py36: python-codacy-coverage -r coverage.xml
py37: flake8 .
py37: black -l 100 --check .
py37: python setup.py check -r -s
py37: python-codacy-coverage -r coverage.xml
py38: flake8 .
py38: black -l 100 --check .
py38: python setup.py check -r -s
py38: python-codacy-coverage -r coverage.xml