I've recently been looking at revamping my CI setup, which has included publishing in CI since before Rust 1.0 (damn, time really flies). As part of that I finally got round to looking into what it would take to have Travis.CI support it natively, turns out it is pretty trivial so there's now a PR that should hopefully allow publishing via something as simple as
deploy:
provider: cratesio
token:
secure: "<Encrypted API Token>"
(well, once you add all the other configuration you might want like checking you remembered to bump the version number and verifying GPG signed tags you end up with something like this, but that's still slightly nicer than using the script provider).
I've recently been looking at revamping my CI setup, which has included publishing in CI since before Rust 1.0 (damn, time really flies). As part of that I finally got round to looking into what it would take to have Travis.CI support it natively, turns out it is pretty trivial so there's now a PR that should hopefully allow publishing via something as simple as
(well, once you add all the other configuration you might want like checking you remembered to bump the version number and verifying GPG signed tags you end up with something like this, but that's still slightly nicer than using the script provider).