Publish on crates.io

This commit is contained in:
Pierre Krieger 2015-09-11 14:04:28 +02:00
parent 97dccb3f47
commit 803c9ac192

View file

@ -23,7 +23,7 @@ after_success:
git clone https://github.com/davisp/ghp-import &&
./ghp-import/ghp-import target/doc &&
git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
# - |
# [ $TRAVIS_BRANCH = master ] &&
# [ $TRAVIS_PULL_REQUEST = false ] &&
# cargo publish --no-verify --token ${CRATESIO_TOKEN}
- |
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&
cargo publish --no-verify --token ${CRATESIO_TOKEN}