diff --git a/.travis.yml b/.travis.yml index 5b59ce37589..f178f17c031 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 f43acae4173..0bce4aca0b6 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 c9fa4c94437..0269a3c53dd 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 =