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
1
Makefile
1
Makefile
@ -57,5 +57,6 @@ run_server: test_project
|
|||||||
test_venv/bin/python test_venv/cas/manage.py runserver
|
test_venv/bin/python test_venv/cas/manage.py runserver
|
||||||
|
|
||||||
run_tests: test_venv
|
run_tests: test_venv
|
||||||
|
python setup.py check --restructuredtext --stric
|
||||||
test_venv/bin/py.test --cov=cas_server --cov-report html
|
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
|
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=
|
deps=
|
||||||
docutils
|
docutils
|
||||||
Pygments
|
Pygments
|
||||||
commands=python {toxinidir}/setup.py check --restructuredtext --stric
|
commands=rst2html.py --strict {toxinidir}/README.rst /dev/null
|
||||||
|
|
||||||
[testenv:coverage]
|
[testenv:coverage]
|
||||||
basepython=python
|
basepython=python
|
||||||
|
Loading…
Reference in New Issue
Block a user