From fddcd0f5d524581a87c694cd31df1d02d99e86dc Mon Sep 17 00:00:00 2001 From: Gaetan Semet Date: Wed, 28 Sep 2016 13:36:28 +0200 Subject: [PATCH] Fix coveralls report generation --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index dda5da8..9652fad 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,14 +29,15 @@ install: - pip install -U pip - pip install -U -r requirements.txt -r requirements-dev.txt . - | + # Overwrite twisted package for test set -e [ $TWISTED = latest ] || pip install Twisted==$TWISTED - - pip install -U tox coveralls + - pip install -U tox coveralls coverage # command to run tests script: - trial txrwlock - - trial --coverage txrwlock + - coverage run --branch --source=txrwlock $(which trial) txrwlock && coverage report -m - python setup.py build_sphinx after_success: