This works by running tox inside travis, rather than duplicating the tox config in travis syntax. The big win here is that coverage collects across all the Python versions and then submits the combined result to coveralls.
21 lines
469 B
INI
21 lines
469 B
INI
[run]
|
|
|
|
# Measure coverage of both tests and wrapt module.
|
|
source =
|
|
tests
|
|
wrapt
|
|
|
|
# This doesn't run the tests in parallel, it just causes the output to land
|
|
# in uniquely-named .coverage.* files to be combined at the end of running
|
|
# tox over the matrix.
|
|
parallel = true
|
|
|
|
[paths]
|
|
|
|
# For the coverage combine command, consider these paths equivalent with
|
|
# the first one being primary.
|
|
src =
|
|
src/
|
|
.tox/*/lib/*/site-packages/
|
|
.tox/pypy*/site-packages/
|