File tree Expand file tree Collapse file tree 3 files changed +14
-32
lines changed
Expand file tree Collapse file tree 3 files changed +14
-32
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ script:
1212 - tox -e lint
1313 - tox -e system-tests
1414 - tox -e system-tests3
15- - scripts/merge .sh
15+ - scripts/update_docs .sh
1616
1717after_success :
1818 - tox -e coveralls
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1616
1717set -ev
1818
19+ # ########################################
20+ # Only update docs if we are on Travis. #
21+ # ########################################
22+ if [[ " ${TRAVIS_BRANCH} " == " master" ]] && \
23+ [[ " ${TRAVIS_PULL_REQUEST} " == " false" ]]; then
24+ echo " Building new docs on a merged commit."
25+ elif [[ -n " ${TRAVIS_TAG} " ]]; then
26+ echo " Building new docs on a tag."
27+ else
28+ echo " Not on Travis, doing nothing."
29+ exit
30+ fi
31+
1932# Adding GitHub pages branch. `git submodule add` checks it
2033# out at HEAD.
2134GH_PAGES_DIR=" ghpages"
You can’t perform that action at this time.
0 commit comments