-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
52 lines (48 loc) · 1.34 KB
/
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
40
41
42
43
44
45
46
47
48
49
50
51
52
# tox (https://tox.readthedocs.io/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
# For information see https://tox.readthedocs.io/en/latest/examples.html
[tox]
envlist = py27, py38
minversion = 3.23.1
# Activate isolated build environment. tox will use a virtual environment
# to build a source distribution from the source tree. For build tools and
# arguments use the pyproject.toml file as specified in PEP-517 and PEP-518.
isolated_build = true
# install testing framework
# ... or install anything else you might need here
[testenv]
passenv =
PYTHONPATH
platform = linux: linux
macos: darwin
windows: win32
; alwayscopy = True
allowlist_externals =
/bin/bash
; changedir =
; tests
#
# https://tox.readthedocs.io/en/latest/config.html#conf-deps
# https://tox.readthedocs.io/en/latest/example/basic.html#a-simple-tox-ini-default-environments
#
deps =
-rrequirements.txt
unittest2
flake8
virtualenv
setuptools
wheel
discover
tox
toml
tox-travis
build
twine
commands =
; windows: python --version
; macos,linux: python --version
discover -s ./tests -t .
; unit2 discover []
; python -m unittest discover