tox.ini: set max verbosity for tox and TravisCI
This commit is contained in:
parent
a281a7770f
commit
1a46f0c742
|
@ -29,10 +29,10 @@ install:
|
|||
- pip install coveralls
|
||||
# virtualenv < 14 is required to keep the Python 3.2 builds running
|
||||
- pip install "virtualenv<14"
|
||||
- pip install tox==2.1.1
|
||||
- pip install "tox<3"
|
||||
|
||||
script:
|
||||
- tox
|
||||
- tox -vv
|
||||
|
||||
after_success:
|
||||
case "$TOXENV" in
|
||||
|
|
6
tox.ini
6
tox.ini
|
@ -2,6 +2,8 @@
|
|||
envlist = py{26,27,32,33,34,35,36}-{with,without}_coverage
|
||||
|
||||
[testenv]
|
||||
install_command =
|
||||
pip install -vvv {opts} {packages}
|
||||
; setenv =
|
||||
; ; The following two flags are a workaround for an issue with building
|
||||
; ; Python extensions on OSX with xcode 5.1.
|
||||
|
@ -17,12 +19,16 @@ deps =
|
|||
py{27,33,34,35,36}: biopython
|
||||
whitelist_externals =
|
||||
mv
|
||||
cat
|
||||
find
|
||||
commands =
|
||||
; Notes:
|
||||
; * run tests both with and without the C extensions (including Cython)
|
||||
; * if running with coverage, merge the coverage run results from both runs
|
||||
; * for Python 2.6 use the unit2 script since -m unittest2 doesn't work
|
||||
; (but when running with coverage, coverage run -m unittest2 works)
|
||||
find {envlogdir} -type f -name '*.log' -printf "\n%p\n" -exec cat \{\} \;
|
||||
echo "++++++++++++++++++++++++++++++++++++++"
|
||||
py26-without_coverage: {envbindir}/unit2 discover tests -t {toxinidir}
|
||||
py26-with_coverage: {envbindir}/coverage run --source=fuzzysearch -m unittest2 discover tests
|
||||
py{27,32,33,34,35,36}-without_coverage: {envpython} -m unittest discover tests
|
||||
|
|
Loading…
Reference in New Issue