Skip to content

Commit aa17477

Browse files
authored
Merge pull request #2016 from daspecster/switch-to-tox-for-json-docs
Switch to using tox for calling json docs update script
2 parents ba6b13c + d6291ad commit aa17477

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ script:
1212
- tox -e lint
1313
- tox -e system-tests
1414
- tox -e system-tests3
15-
- scripts/update_json_docs.sh
15+
- tox -e json-docs
1616

1717
after_success:
1818
- tox -e coveralls

tox.ini

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,11 +112,18 @@ basepython =
112112
python2.7
113113
commands =
114114
python -c "import shutil; shutil.rmtree('docs/_build/json', ignore_errors=True)"
115-
python scripts/generate_json_docs.py
115+
{toxinidir}/scripts/update_json_docs.sh
116116
deps =
117117
parinx
118118
pdoc
119119
Sphinx
120+
passenv =
121+
TRAVIS_TAG
122+
TRAVIS_BRANCH
123+
TRAVIS_PULL_REQUEST
124+
GH_OWNER
125+
GH_OAUTH_TOKEN
126+
GH_PROJECT_NAME
120127
setenv =
121128
PYTHONPATH = {toxinidir}/_testing
122129

0 commit comments

Comments
 (0)