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: script:
- tox -e $TOX_ENV - tox -e $TOX_ENV
after_success: after_success:
- coveralls - if [ "$TOX_ENV" = "cover" ]; then coveralls; fi
notifications: notifications:
email: false email: false

View File

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

View File

@ -53,7 +53,8 @@ basepython = python3.4
deps = deps =
{[testenv]deps} {[testenv]deps}
pylint 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] [testenv:pylint-full]
basepython = python3.4 basepython = python3.4