File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 55# without any warranty.
66set -e
77if [[ " ${TRAVIS_PULL_REQUEST} " == " false" && " ${TRAVIS_BRANCH} " == " ${DEPLOY_DOC_FROM_BRANCH} " && -r .travis_ci_gh_pages_deploy_key ]]; then
8+ if [[ -z " ${DEPLOY_DOC_TO_REPOSITORY} " ]]; then
9+ DEPLOY_DOC_TO_REPOSITORY=" ${TRAVIS_REPO_SLUG} "
10+ fi
811 chmod 600 .travis_ci_gh_pages_deploy_key
912 eval ` ssh-agent -s`
1013 ssh-add .travis_ci_gh_pages_deploy_key
Original file line number Diff line number Diff line change 55language : python
66matrix :
77 include :
8- - env : CACHE_NAME=7.6 DEPLOY_DOC_FROM_BRANCH=master DEPLOY_DOC_TO_REPOSITORY=mkoeppe/sage_sample DEPLOY_DOC_TO_DIRECTORY=/ SAGE_SERVER=http://mirrors.xmission.com/sage/ SAGE_IMAGE=linux/64bit/sage-7.6-Ubuntu_12.04-x86_64.tar.bz2
8+ - env : CACHE_NAME=7.6 DEPLOY_DOC_FROM_BRANCH=master DEPLOY_DOC_TO_DIRECTORY=/ SAGE_SERVER=http://mirrors.xmission.com/sage/ SAGE_IMAGE=linux/64bit/sage-7.6-Ubuntu_12.04-x86_64.tar.bz2
99 - env : CACHE_NAME=7.5.1 SAGE_SERVER=http://mirrors.xmission.com/sage/ SAGE_IMAGE=linux/64bit/sage-7.5.1-Ubuntu_12.04-x86_64.tar.bz2
1010 - env : CACHE_NAME=7.4 SAGE_SERVER=http://mirrors.xmission.com/sage/ SAGE_IMAGE=linux/64bit/sage-7.4-Ubuntu_12.04-x86_64.tar.bz2
1111 - env : CACHE_NAME=7.3 SAGE_SERVER=http://mirrors.xmission.com/sage/ SAGE_IMAGE=linux/64bit/sage-7.3-Ubuntu_12.04-x86_64.tar.bz2
Original file line number Diff line number Diff line change @@ -174,7 +174,7 @@ Automatically deploying documentation to GitHub pages using Travis CI
174174 $ echo "/gh-pages" >> .gitignore
175175 $ git add .gitignore
176176
177- * Edit ``.travis.yml `` to adjust variables ``DEPLOY_DOC_... ``
177+ * Optionally, edit ``.travis.yml `` to adjust variables ``DEPLOY_DOC_... ``
178178
179179 * Commit all changes to GitHub. The Travis CI build should then run
180180 automatically and deploy it::
You can’t perform that action at this time.
0 commit comments