forked from rsyring/disk-bench
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
39 lines (35 loc) · 882 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
39
[tox]
envlist = py{35,36,37},project
[testenv]
# Ignore all "not installed in testenv" warnings.
whitelist_externals = *
skip_install = true
commands =
pipenv install --dev --deploy
py.test \
# feed a blank file so that a user's default pytest.ini doesn't get used
-c .circleci/pytest.ini \
-ra \
--tb native \
--strict \
--cov diskbench \
--cov-config .coveragerc \
--cov-report xml \
--no-cov-on-fail \
--junit-xml={toxinidir}/.circleci/test-reports/{envname}.pytests.xml \
diskbench
[testenv:project]
basepython = python3.6
skip_install = true
usedevelop = false
deps =
flake8
twine
commands =
python setup.py sdist
twine check dist/*
flake8 diskbench
[flake8]
exclude = .tox,*egg,build,.git,dist,docs
max-line-length = 100
ignore = E265,E123,E133,E226,E241,E242