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:
parent
c2b146335f
commit
a1edd2f31f
2 changed files with 2 additions and 1 deletions
1
Makefile
1
Makefile
|
@ -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
|
||||
|
|
2
tox.ini
2
tox.ini
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue