mirror of
https://github.com/ammaraskar/pyCraft.git
synced 2024-11-25 03:35:29 +01:00
Only execute coveralls on the cover build
This commit is contained in:
parent
1e3437d638
commit
398050c248
@ -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
|
||||||
|
@ -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")
|
3
tox.ini
3
tox.ini
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user