aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorTill Hoeppner2015-04-19 20:03:43 +0200
committerTill Hoeppner2015-04-19 20:03:43 +0200
commit11969d703e1f2653ac965adbb2cf00b67ff00c5a (patch)
tree7886907a14a808dd834a287425ccd5230ae4134e /.travis.yml
parent7ebe0df7282fd9850e9232dc233ce27623844778 (diff)
downloadirsc-11969d703e1f2653ac965adbb2cf00b67ff00c5a.tar.gz
irsc-11969d703e1f2653ac965adbb2cf00b67ff00c5a.tar.xz
irsc-11969d703e1f2653ac965adbb2cf00b67ff00c5a.zip
Add auto-publishing by Travis
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml7
1 files changed, 5 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 95fadca..8cac6f1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -6,7 +6,10 @@ after_success: |
echo "<meta http-equiv=refresh content=0;url=`echo $TRAVIS_REPO_SLUG | cut -d '/' -f 2`/index.html>" > target/doc/index.html &&
sudo pip install ghp-import &&
ghp-import -n target/doc &&
- git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
+ git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages &&
+ cargo login &&
+ cargo publish
env:
global:
- secure: QesmFK+1DtDlYx8bnAC7nKKo/OeZziH+XTDjJFwPiKu7+fHk7bbO7pkd7jPLQTMR037nmvyIr0OwXlZQqA6pE6OyLd/4gUHzUfRP2NNCWIJIh1gqpOZDu29qW79RjKFHdEzuJLsKppJ8cnMlN2P9h/JpZuQBZZoRtFNFmi2OvNE=
+ - secure: QesmFK+1DtDlYx8bnAC7nKKo/OeZziH+XTDjJFwPiKu7+fHk7bbO7pkd7jPLQTMR037nmvyIr0OwXlZQqA6pE6OyLd/4gUHzUfRP2NNCWIJIh1gqpOZDu29qW79RjKFHdEzuJLsKppJ8cnMlN2P9h/JpZuQBZZoRtFNFmi2OvNE=
+ - secure: SWDhZyNJBApqivpcqHVihIY10D5ODEJ1h8N0uQN6D1iUAvLSehEN/mTLIx/r7BFWY/23tKMpK0eimWFtD9cy6i0Eg3BICVv4e6EVob3dtLz7aj1CsANZnN9pCFKzDcEdpSBh5Wa1E1vE4QPpQF2m5WLHBw59C+jt6bFxJrtc5Pw=