diff --git a/.travis.yml b/.travis.yml index 1717e57..b527b2d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/tox.ini b/tox.ini index d707d97..a5fc366 100644 --- a/tox.ini +++ b/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