File tree Expand file tree Collapse file tree 2 files changed +50
-0
lines changed Expand file tree Collapse file tree 2 files changed +50
-0
lines changed Original file line number Diff line number Diff line change 1+ # -*- coding:utf-8 -*-
2+ __path__ = __import__ ('pkgutil' ).extend_path (__path__ , __name__ )
Original file line number Diff line number Diff line change 1+ # tox (https://tox.readthedocs.io/) is a tool for running tests
2+ # in multiple virtualenvs. This configuration file will run the
3+ # test suite on all supported python versions. To use it, "pip install tox"
4+ # and then run "tox" from this directory.
5+ # For information see https://tox.readthedocs.io/en/latest/examples.html
6+
7+ [tox]
8+ envlist = py27, py39
9+
10+ minversion = 3.23.1
11+
12+ # Activate isolated build environment. tox will use a virtual environment
13+ # to build a source distribution from the source tree. For build tools and
14+ # arguments use the pyproject.toml file as specified in PEP-517 and PEP-518.
15+ isolated_build = true
16+
17+ # install testing framework
18+ # ... or install anything else you might need here
19+ [testenv]
20+ passenv =
21+ PYTHONPATH
22+ platform = linux: linux
23+ macos: darwin
24+ windows: win32
25+ ; alwayscopy = True
26+ allowlist_externals =
27+ /bin/bash
28+ ; changedir =
29+ ; tests
30+ # https://tox.readthedocs.io/en/latest/config.html#conf-deps
31+ deps =
32+ unittest2
33+ flake8
34+ virtualenv
35+ setuptools
36+ wheel
37+ discover
38+ tox
39+ toml
40+ tox-travis
41+ build
42+ twine
43+ commands =
44+ ; windows: python --version
45+ ; macos,linux: python --version
46+ discover -s ./tests -t .
47+ ; unit2 discover []
48+ ; python -m unittest discover
You can’t perform that action at this time.
0 commit comments