forked from python-versioneer/python-versioneer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
38 lines (33 loc) · 1.04 KB
/
tox.ini
File metadata and controls
38 lines (33 loc) · 1.04 KB
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
# Tox (http://tox.testrun.org/) 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.
[tox]
envlist = py26,py27,py33,py34,py35
skip_missing_interpreters = True
[testenv]
deps =
pyflakes
flake8
wheel
setuptools
virtualenv
discover
flake8-docstrings
commands =
pip --version
easy_install --version
virtualenv --version
# this creates versioneer.py in the current directory, which is used by
# tests
python setup.py make_versioneer
python -m discover test
python test/git/test_git.py -v
python test/git/test_invocations.py -v
# this creates git_version.py, which is used by tests
python setup.py make_long_version_py_git
pyflakes setup.py versioneer.py git_version.py
# pyflakes all of src except src/git/long_header.py and src/header.py
python test/run_pyflakes_src.py
pyflakes test
flake8 git_version.py versioneer.py