Skip to content

Commit

Permalink
try to fix travis ci docs deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
olgabot committed Mar 4, 2015
1 parent 0985a58 commit 2e20564
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Expand Up @@ -49,9 +49,9 @@ after_script:
- pip install sphinx numpydoc sphinx_bootstrap_theme runipy
- sudo pip install -r doc/requirements.txt --use-mirrors
- MASTER=master
- if [[ $TRAVIS_BRANCH == "v*.*.*" ]] ; then export DEPLOY_HTML_DIR=docs ; fi
- if [[ $TRAVIS_BRANCH == v*.*.* ]] ; then export DEPLOY_HTML_DIR=docs ; fi
- if [[ $TRAVIS_BRANCH == "$MASTER" ]] ; then export DEPLOY_HTML_DIR=docs-dev ; fi
- if [[ $TRAVIS_BRANCH == "v*.*.*" ]] || [[ $TRAVIS_BRANCH == "$MASTER" ]] ; then cd doc ; make setup_gh_pages ; make generate ; make deploy ; fi
- if [[ $TRAVIS_BRANCH == v*.*.* ]] || [[ $TRAVIS_BRANCH == "$MASTER" ]] ; then cd doc ; make setup_gh_pages ; make generate ; make deploy ; fi

# For slack notifications
notifications:
Expand Down

0 comments on commit 2e20564

Please sign in to comment.