Skip to content

Commit

Permalink
Build docs on Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
frewsxcv committed May 23, 2015
1 parent 388e070 commit c335f27
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
language: rust
#after_success: |
# cargo doc \
# && echo '<meta http-equiv=refresh content=0;url=handlebars/index.html>' > target/doc/index.html && \
# sudo pip install ghp-import && \
# ghp-import -n target/doc && \
# git push -qf https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
after_success: |
cargo doc && \
echo '<meta http-equiv=refresh content=0;url=geo/index.html>' > target/doc/index.html && \
sudo pip install ghp-import && \
ghp-import -n target/doc && \
git push -qf https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages

0 comments on commit c335f27

Please sign in to comment.