aboutsummaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini12
1 files changed, 4 insertions, 8 deletions
diff --git a/tox.ini b/tox.ini
index 8c8fbaa2..729d529a 100644
--- a/tox.ini
+++ b/tox.ini
@@ -5,17 +5,14 @@ toxworkdir={env:TOX_WORK_DIR:.tox}
[testenv]
deps =
- {env:CI_DEPS:}
-rrequirements.txt
-passenv = CODECOV_TOKEN CI CI_* TRAVIS TRAVIS_* APPVEYOR APPVEYOR_* SNAPSHOT_* OPENSSL RTOOL_*
setenv = HOME = {envtmpdir}
commands =
mitmdump --version
- pytest --timeout 60 --cov-report='' \
+ pytest --timeout 60 --cov-report xml \
--cov=mitmproxy --cov=pathod --cov=release \
--full-cov=mitmproxy/ --full-cov=pathod/ \
{posargs}
- {env:CI_COMMANDS:python -c ""}
[testenv:py35]
whitelist_externals =
@@ -31,8 +28,7 @@ commands =
flake8 --jobs 8 mitmproxy pathod examples test release
python ./test/filename_matching.py
rstcheck README.rst
- mypy --ignore-missing-imports ./mitmproxy ./pathod
- mypy --ignore-missing-imports --follow-imports=skip ./examples/simple/ ./examples/pathod/ ./examples/complex/
+ mypy .
[testenv:individual_coverage]
deps =
@@ -41,7 +37,7 @@ commands =
python ./test/individual_coverage.py
[testenv:cibuild]
-passenv = TRAVIS_* APPVEYOR_* AWS_* TWINE_* DOCKER_* RTOOL_KEY WHEEL DOCKER PYINSTALLER WININSTALLER
+passenv = CI_* GITHUB_* AWS_* TWINE_* DOCKER_*
deps =
-rrequirements.txt
pyinstaller==3.5
@@ -63,7 +59,7 @@ commands =
pathoc --version
[testenv:docs]
-passenv = TRAVIS_* APPVEYOR_* AWS_*
+passenv = GITHUB_* AWS_*
deps =
-rrequirements.txt
awscli