From c809fc76d4543736572f11766b2236a0e1109c09 Mon Sep 17 00:00:00 2001 From: Benjamin Bach Date: Mon, 25 Jan 2016 20:10:17 +0100 Subject: [PATCH] fix broken link, ignore google link, test docs and bdd separately from python envs --- .travis.yml | 4 ++-- docs/conf.py | 4 ++++ tox.ini | 8 ++++---- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5b59ce3758..f178f17c03 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,6 +8,8 @@ python: - "3.4" - "3.5" - "2.7" + - "docs" + - "bdd" # pypy testing currently breaks because of the tempfile dir used for KALITE_HOME # - "pypy" @@ -25,8 +27,6 @@ install: # command to run tests, e.g. python setup.py test script: - tox -e $TOX_ENV - - tox -e bdd - - tox -e docs after_success: - codecov diff --git a/docs/conf.py b/docs/conf.py index f43acae417..0bce4aca0b 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -43,6 +43,10 @@ # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. extensions = ['sphinx.ext.autodoc', 'sphinx.ext.viewcode'] +linkcheck_ignore = [ + 'https://groups.google.com/a/learningequality.org/forum/#!forum/dev', +] + # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] diff --git a/tox.ini b/tox.ini index c9fa4c9443..0269a3c53d 100644 --- a/tox.ini +++ b/tox.ini @@ -7,9 +7,9 @@ basepython = py3.4: python3.4 py3.5: python3.5 pypypy: pypy - docs: python2.7 + pydocs: python2.7 lint: python - bdd: python2.7 + pybdd: python2.7 deps = -r{toxinidir}/requirements/test.txt commands = @@ -21,7 +21,7 @@ deps = commands = flake8 kolibri -[testenv:docs] +[testenv:pydocs] changedir=docs/ deps = -r{toxinidir}/requirements/docs.txt @@ -29,7 +29,7 @@ commands = sphinx-build -b linkcheck ./ _build/ # sphinx-build -b html ./ _build/ -[testenv:bdd] +[testenv:pybdd] deps = -r{toxinidir}/requirements/bdd.txt commands =