Only execute coveralls on the cover build

This commit is contained in:
Ammar Askar 2015-04-03 04:13:59 +05:00
parent 1e3437d638
commit 398050c248
3 changed files with 4 additions and 3 deletions

View File

@ -16,6 +16,6 @@ install:
script:
- tox -e $TOX_ENV
after_success:
- coveralls
- if [ "$TOX_ENV" = "cover" ]; then coveralls; fi
notifications:
email: false

View File

@ -14,6 +14,6 @@ print(" - pip install python-coveralls")
print("script:")
print(" - tox -e $TOX_ENV")
print("after_success:")
print(" - coveralls")
print(' - if [ "$TOX_ENV" = "cover" ]; then coveralls; fi')
print("notifications:")
print(" email: false")

View File

@ -53,7 +53,8 @@ basepython = python3.4
deps =
{[testenv]deps}
pylint
commands = - pylint minecraft -f colorized -d all -e W -r n
commands =
- pylint minecraft -f colorized -d all -e W -r n
[testenv:pylint-full]
basepython = python3.4