Rust is now supported on Travis CI!
TL;DR You can now put
language: rust in your
.travis.yml file and Things Will Work.
As redditor nwin_ noted, the continuous integration tool Travis CI now directly supports Rust projects! There's no longer any need to disguise your project as C and install Rust compiler manually.
This means that if you use cargo, your entire
.travis.yml file may now look like that:
This will use the latest nightly
rustc and the latest nightly
cargo. Travis CI will build your project with
cargo build and then run any tests you have with
See for yourself: