Skip to content

Commit

Permalink
chore(travis): add code for deployment to crate.io
Browse files Browse the repository at this point in the history
  • Loading branch information
fMeow committed Oct 25, 2018
1 parent b62d4c9 commit 03a8a5e
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ services:

env:
- DOCKER_COMPOSE_VERSION=1.22.0
- secure: JM/YsyVdzZ3g8OXLBHp5gnPOTPwZebZmeoFypydLQ3ttN6EldRW7r7y4hRgrU00cjj7gNXTzU0Rud1BR8NzZmnrqdWN6WUYYhIq2bBYP9uVdPpXOS6FB2+g/3HQcfSbxsaCOwxhE5bmocIYpLOhGqeUf1YHrEeE+Wq79BFopHLSs1RF/eDIjXkLnBkIjij0LGIrhR8dJg/CWw6qAU9oymucgWDjzXviVl5MCmQSiOG6RxXYC6D+K4wmMoure+R1HGgxUzZ+qlVVxaZ2/qMKt9XlKdxa0cGGwprjnVDp7geafSd+JuxoJz7qor2jJL7BSDcgUuEQnOCbxJvZey67hVSmg/6tk91rmFN32NSSJW2cmSOLTntvfstiRGg2JMT3CidxStvF8KrePPDtYMdIGZyPUfmgS35ce0dq7l5ZwWs+eHHjCdlIXXmbBlJfVfDlylnJuP6ZDJqUgZzoMIngJ66GQmsdQKZy3XczkC2diTGKWddNxyqVaRUbr7yCdCIq0QbSL35hIips4r1Uw0quOBTC3SgQSZMUmc3GpIISNXAYmeAYv34drsgqSMxq+5Ts3nDR5nJW/sW5RMDz0c6UpSGi999ApQuBEGKmnT9RGQ/Zzxli/JNYz8ijRbu2HBgRB34bHZKsPjzI4vFoeJBlEAf49UbOO8bNGmgU9edBueZE=

addons:
apt:
Expand Down Expand Up @@ -61,4 +62,12 @@ script:

notifications:
email:
on_success: never
on_success: never

deploy:
provider: script
script: cargo publish --token $CARGO_TOKEN
on:
tags: true
branch: master
condition: "$TRAVIS_RUST_VERSION = nightly"

0 comments on commit 03a8a5e

Please sign in to comment.