From 11969d703e1f2653ac965adbb2cf00b67ff00c5a Mon Sep 17 00:00:00 2001 From: Till Hoeppner Date: Sun, 19 Apr 2015 20:03:43 +0200 Subject: Add auto-publishing by Travis --- .travis.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to '.travis.yml') 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 "" > 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= -- cgit v1.2.3