setup.cfg cleanup + only run coveralls on py27

This commit is contained in:
Stefan Wojcik 2016-12-10 20:57:43 -05:00
parent 500b182d17
commit b32cd19266
2 changed files with 8 additions and 7 deletions

View File

@ -42,7 +42,11 @@ before_script:
script:
- tox -e $(echo py$TRAVIS_PYTHON_VERSION-mg$PYMONGO | tr -d . | sed -e 's/pypypy/pypy/') -- --with-coverage
after_script: coveralls --verbose
# For now only submit coveralls for Python v2.7. Python v3.x currently shows
# 0% coverage. That's caused by 'use_2to3', which builds the py3-compatible
# code in a separate dir and runs tests on that.
after_script:
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then coveralls --verbose; fi
notifications:
irc: irc.freenode.org#mongoengine

View File

@ -1,10 +1,7 @@
[nosetests]
verbosity = 2
detailed-errors = 1
cover-erase = 1
cover-branches = 1
cover-package = mongoengine
tests = tests
verbosity=2
detailed-errors=1
tests=tests
[flake8]
ignore=E501,F401,F403,F405,I201