Testing python project with Tox and Teamcity

Viewed 900

I have project with very simple configuration matrix, described in tox: py{27,35}-django{18,19}

I'm using TeamCity as the CI-server, run tests with py.test with installed teamcity-messages. I've tried to run every configuration like tox -e py27-django18 in different steps. But Teamcity didn't summarize tests and didn't accumulate coverage for files, it's only count coverage for last run and Tests passed:​ ... show tests from only one build.

How testing with multiple Python configurations can be integrated into Teamcity?

upd. Find out, that coverage counts correctly, just forgot to add --cov-append option to py.test.

1 Answers
Related