mirror of
https://github.com/ammaraskar/pyCraft.git
synced 2024-11-22 02:08:56 +01:00
coveralls support
This commit is contained in:
parent
515b0b3719
commit
4dfdb6282b
@ -12,5 +12,10 @@ env:
|
||||
- TOX_ENV=verify-manifest
|
||||
install:
|
||||
- pip install tox
|
||||
- pip install python-coveralls
|
||||
script:
|
||||
- tox -e $TOX_ENV
|
||||
after_success:
|
||||
- coveralls
|
||||
notifications:
|
||||
email: false
|
||||
|
@ -1,6 +1,7 @@
|
||||
pyCraft
|
||||
=======
|
||||
.. image:: https://travis-ci.org/ammaraskar/pyCraft.svg
|
||||
:target: https://travis-ci.org/ammaraskar/pyCraft
|
||||
|
||||
|
||||
Minecraft Python Client Library!
|
||||
|
@ -3,12 +3,17 @@ os.chdir("..")
|
||||
|
||||
from tox._config import parseconfig
|
||||
|
||||
print "language: python"
|
||||
print "python: 2.7"
|
||||
print "env:"
|
||||
print("language: python")
|
||||
print("python: 2.7")
|
||||
print("env:")
|
||||
for env in parseconfig(None, 'tox').envlist:
|
||||
print " - TOX_ENV=%s" % env
|
||||
print "install:"
|
||||
print " - pip install tox"
|
||||
print "script:"
|
||||
print " - tox -e $TOX_ENV"
|
||||
print(" - TOX_ENV=%s" % env)
|
||||
print("install:")
|
||||
print(" - pip install tox")
|
||||
print(" - pip install python-coveralls")
|
||||
print("script:")
|
||||
print(" - tox -e $TOX_ENV")
|
||||
print("after_success:")
|
||||
print(" - coveralls")
|
||||
print("notifications:")
|
||||
print(" email: false")
|
4
tox.ini
4
tox.ini
@ -27,7 +27,7 @@ deps =
|
||||
[testenv:cover]
|
||||
basepython = python3.4
|
||||
commands =
|
||||
nosetests --with-xunit --with-xcoverage --cover-package=minecraft --nocapture --cover-erase --cover-tests --cover-branches --cover-min-percentage=60
|
||||
- nosetests --with-xunit --with-xcoverage --cover-package=minecraft --nocapture --cover-erase --cover-tests --cover-branches --cover-min-percentage=60
|
||||
deps =
|
||||
{[testenv]deps}
|
||||
coverage
|
||||
@ -53,7 +53,7 @@ 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
|
||||
|
Loading…
Reference in New Issue
Block a user