From a1edd2f31fc224880cbc87b1f4ab5e3987c3c548 Mon Sep 17 00:00:00 2001 From: Valentin Samir Date: Fri, 1 Jul 2016 03:20:58 +0200 Subject: [PATCH] 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 --- Makefile | 1 + tox.ini | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d0f9165..9ee3af2 100644 --- a/Makefile +++ b/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 diff --git a/tox.ini b/tox.ini index c48e214..34b611a 100644 --- a/tox.ini +++ b/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