-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
36 lines (33 loc) · 972 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
# 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.
[setup]
results = {toxinidir}/test_results
[tox]
envlist = py35
usedevelop = True
[testenv]
deps =
-rrequirements.txt
-rtesting_requirements.txt
passenv = *
whitelist_externals=mkdir
commands =
mkdir -p {[setup]results}
nosetests \
--with-xunit \
--xunit-file {[setup]results}/nose.xml \
--with-coverage \
--cover-erase \
--cover-tests \
--cover-branches \
--cover-xml \
--cover-xml-file {[setup]results}/coverage.xml \
--cover-html \
--cover-html-dir {[setup]results}/coverage \
--cover-package python_roshambo_runner
flake8 \
--show-source \
--output-file {[setup]results}/flake8.txt \
--exit-zero python_roshambo_runner