Use rst2html instead of setup.py check cause there is a fixed bug on ubuntu 12.04

an that this is the OS travis use. cf https://bugs.python.org/issue23063
This commit is contained in:
Valentin Samir 2016-07-01 03:20:58 +02:00
parent c2b146335f
commit a1edd2f31f
2 changed files with 2 additions and 1 deletions

View File

@ -57,5 +57,6 @@ run_server: test_project
test_venv/bin/python test_venv/cas/manage.py runserver
run_tests: test_venv
python setup.py check --restructuredtext --stric
test_venv/bin/py.test --cov=cas_server --cov-report html
rm htmlcov/coverage_html.js # I am really pissed off by those keybord shortcuts

View File

@ -66,7 +66,7 @@ basepython=python
deps=
docutils
Pygments
commands=python {toxinidir}/setup.py check --restructuredtext --stric
commands=rst2html.py --strict {toxinidir}/README.rst /dev/null
[testenv:coverage]
basepython=python