Only publish docs from master

This commit is contained in:
John Gallagher 2015-05-03 21:50:50 -04:00
parent dcdb88e374
commit 3eb2c333db

View File

@ -10,6 +10,8 @@ script:
- cargo doc --no-deps
after_success: |
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&
echo '<meta http-equiv=refresh content=0;url=rusqlite/index.html>' > target/doc/index.html &&
sudo pip install ghp-import &&
ghp-import -n target/doc &&