Skip to content

Commit

Permalink
fix broken link, ignore google link, test docs and bdd separately fro…
Browse files Browse the repository at this point in the history
…m python envs
  • Loading branch information
benjaoming committed Jan 25, 2016
1 parent cef58c8 commit c809fc7
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand All @@ -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
4 changes: 4 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']

Expand Down
8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand All @@ -21,15 +21,15 @@ deps =
commands =
flake8 kolibri

[testenv:docs]
[testenv:pydocs]
changedir=docs/
deps =
-r{toxinidir}/requirements/docs.txt
commands =
sphinx-build -b linkcheck ./ _build/
# sphinx-build -b html ./ _build/

[testenv:bdd]
[testenv:pybdd]
deps =
-r{toxinidir}/requirements/bdd.txt
commands =
Expand Down

0 comments on commit c809fc7

Please sign in to comment.