diff --git a/.travis.yml b/.travis.yml index 800c6f5cf885..85f146dd3715 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,7 +12,7 @@ script: - tox -e lint - tox -e system-tests - tox -e system-tests3 - - scripts/update_json_docs.sh + - tox -e json-docs after_success: - tox -e coveralls diff --git a/tox.ini b/tox.ini index 53f868db8ed4..006dbffe3ec5 100644 --- a/tox.ini +++ b/tox.ini @@ -112,11 +112,18 @@ basepython = python2.7 commands = python -c "import shutil; shutil.rmtree('docs/_build/json', ignore_errors=True)" - python scripts/generate_json_docs.py + {toxinidir}/scripts/update_json_docs.sh deps = parinx pdoc Sphinx +passenv = + TRAVIS_TAG + TRAVIS_BRANCH + TRAVIS_PULL_REQUEST + GH_OWNER + GH_OAUTH_TOKEN + GH_PROJECT_NAME setenv = PYTHONPATH = {toxinidir}/_testing