Adding initial test for rtmbot and hopefully coveralls
This commit is contained in:
parent
60b7b2ebad
commit
ef76bd58d2
6 changed files with 53 additions and 5 deletions
14
tox.ini
14
tox.ini
|
@ -9,9 +9,14 @@ max-line-length= 100
|
|||
exclude= tests/*
|
||||
|
||||
[testenv]
|
||||
commands=py.test {posargs:tests}
|
||||
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
|
||||
commands =
|
||||
py.test --cov-report= --cov=rtmbot {posargs:tests}
|
||||
coveralls
|
||||
|
||||
deps =
|
||||
-r{toxinidir}/requirements-dev.txt
|
||||
-r{toxinidir}/requirements.txt
|
||||
basepython =
|
||||
py27: python2.7
|
||||
py34: python3.4
|
||||
|
@ -20,4 +25,9 @@ basepython =
|
|||
[testenv:flake8]
|
||||
basepython=python
|
||||
deps=flake8
|
||||
commands=flake8 {toxinidir}/rtmbot.py {toxinidir}/rtmbot/core.py {toxinidir}/setup.py {toxinidir}/doc/example-plugins
|
||||
commands=
|
||||
flake8 \
|
||||
{toxinidir}/rtmbot.py \
|
||||
{toxinidir}/rtmbot/core.py \
|
||||
{toxinidir}/setup.py \
|
||||
{toxinidir}/doc/example-plugins
|
Loading…
Add table
Add a link
Reference in a new issue