Skip to content

Commit

Permalink
Merge pull request #236 from tusharmakkar08/Issue_#217_fix
Browse files Browse the repository at this point in the history
Added update_documentation.sh script for updating gh-pages
  • Loading branch information
alecthomas authored Nov 2, 2016
2 parents ad6e78b + e2f5e38 commit 2badd2e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ install:
# command to run tests
script: nosetests --with-coverage --cover-package=voluptuous
after_success:
- coveralls
- coveralls
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then bash ./update_documentation.sh; fi'
5 changes: 5 additions & 0 deletions update_documentation.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
git checkout gh-pages
git merge master
pip install -r requirements.txt
sphinx-apidoc -o docs -f voluptuous

0 comments on commit 2badd2e

Please sign in to comment.