Drop automatic doc push, make it usable locally.

This commit is contained in:
Craig Citro
2015-01-06 02:32:14 -08:00
parent 21ce0ed3f5
commit 6dc2e0331b
2 changed files with 2 additions and 6 deletions

View File

@@ -14,7 +14,6 @@ install:
- pip install tox
script:
- tox -e $TOX_ENV
- tox -e pushdocs
after_success:
- tox -e coveralls
notifications:

View File

@@ -16,8 +16,5 @@
#
# Push a new version of the docs.
if [[ "${TRAVIS_BRANCH}" == "master" ]] && \
[[ "${TRAVIS_PULL_REQUEST}" == "false" ]]; then
ghp-import -n docs/_build/html
git push -fq https://${GH_OAUTH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
fi
REPO=${REPO:-'origin'}
ghp-import -n docs/_build/html -r "${REPO}" -p