Remove some noise in the output

This commit is contained in:
Donald Stufft 2014-06-30 23:31:27 -04:00
parent 3cd6032b5c
commit a6b59e8a55
2 changed files with 8 additions and 4 deletions

View File

@ -7,7 +7,7 @@ set -x
export LC_CTYPE=en_US.UTF-8
# Run the unit tests
tox -- -m unit --cov-report coverage.xml
tox -- -m unit --cov pip/ --cov-report coverage.xml
# Run our integration tests, typically with pytest-xdist to speed things up
# except on Python 3.2 where it doesn't work quite right.
@ -21,10 +21,14 @@ case $TOXENV in
esac
# If this is a pull request then run our diff-cover to get the difference in
# coverage that this PR introduces
if [[ $TRAVIS_PULL_REQUEST != "false" ]]
then
# If this is a pull request then run our diff-cover to get the difference
# in coverage that this PR introduces
git fetch origin $TRAVIS_BRANCH:refs/remotes/origin/$TRAVIS_BRANCH
diff-cover --compare-branch=origin/$TRAVIS_BRANCH coverage.xml
else
# If this is not a PR, but is being run against a branch, then just report
# the coverage results for the entire code base.
coverage report -m
fi

View File

@ -13,7 +13,7 @@ deps =
scripttest>=1.3
https://github.com/pypa/virtualenv/archive/develop.zip#egg=virtualenv
commands =
py.test --cov pip/ --cov-report term-missing --timeout 300 []
py.test --timeout 300 []
[testenv:docs]
deps = sphinx