Finished script besides commit and started unit tests

This commit is contained in:
Brad Warren
2015-07-27 19:26:28 -07:00
parent 0a60122cf6
commit 12b9970787
10 changed files with 493 additions and 200 deletions
+5 -3
View File
@@ -10,12 +10,13 @@ envlist = py26,py27,py33,py34,cover,lint
[testenv]
commands =
pip install -r requirements.txt -e acme -e .[testing] -e letsencrypt-apache -e letsencrypt-nginx
pip install -r requirements.txt -e acme -e .[testing] -e letsencrypt-apache -e letsencrypt-nginx -e letshelp-letsencrypt
# -q does not suppress errors
python setup.py test -q
python setup.py test -q -s acme
python setup.py test -q -s letsencrypt_apache
python setup.py test -q -s letsencrypt_nginx
python setup.py test -q -s letshelp_letsencrypt
setenv =
PYTHONPATH = {toxinidir}
@@ -35,7 +36,7 @@ commands =
[testenv:cover]
basepython = python2.7
commands =
pip install -r requirements.txt -e acme -e .[testing] -e letsencrypt-apache -e letsencrypt-nginx
pip install -r requirements.txt -e acme -e .[testing] -e letsencrypt-apache -e letsencrypt-nginx -e letshelp-letsencrypt
./tox.cover.sh
[testenv:lint]
@@ -45,8 +46,9 @@ basepython = python2.7
# duplicate code checking; if one of the commands fails, others will
# continue, but tox return code will reflect previous error
commands =
pip install -r requirements.txt -e acme -e .[dev] -e letsencrypt-apache -e letsencrypt-nginx
pip install -r requirements.txt -e acme -e .[dev] -e letsencrypt-apache -e letsencrypt-nginx -e letshelp-letsencrypt
pylint --rcfile=.pylintrc letsencrypt
pylint --rcfile=.pylintrc acme/acme
pylint --rcfile=.pylintrc letsencrypt-apache/letsencrypt_apache
pylint --rcfile=.pylintrc letsencrypt-nginx/letsencrypt_nginx
pylint --rcfile=.pylintrc letshelp-letsencrypt/letshelp_letsencrypt