File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ script:
1212 - tox -e cover
1313 - tox -e system-tests
1414 - tox -e system-tests3
15- - tox -e docs
1615 - tox -e json-docs
1716
1817after_success :
Original file line number Diff line number Diff line change 44
55function pushDocs () {
66
7+ echo " Building JSON documentation..."
78 PYTHONPATH=_testing python scripts/generate_json_docs.py --tag ${1}
9+ echo " Done building JSON documentation."
810
11+ echo " Deploying JSON documentation..."
912 if [[ ! -d " ghpages" ]]; then
1013 git submodule add -f -b gh-pages https://${GH_OAUTH_TOKEN} @github.com/${GH_OWNER} /${GH_PROJECT_NAME} ghpages
1114 fi
@@ -23,16 +26,19 @@ function pushDocs () {
2326 echo " Nothing to commit."
2427 fi
2528 cd ..
29+
30+ echo " Done deploying JSON documentation."
2631}
2732
2833function cleanSubmodule () {
29- echo " Cleaning up... "
34+ echo " Cleaning up! "
3035 git submodule deinit -f ghpages
3136 git reset HEAD .gitmodules
3237 git reset HEAD ghpages
3338 rm -rf ghpages
3439 rm -f .gitmodules
3540 rm -rf .git/modules/ghpages
41+ echo " Done cleaning up!"
3642}
3743
3844if [ " ${TRAVIS_BRANCH} " == " master" ] && [ " ${TRAVIS_PULL_REQUEST} " == " false" ]; then
You can’t perform that action at this time.
0 commit comments