diff options
| author | Steve Klabnik <steve@steveklabnik.com> | 2015-07-22 12:56:52 -0400 |
|---|---|---|
| committer | Steve Klabnik <steve@steveklabnik.com> | 2015-07-22 12:56:52 -0400 |
| commit | 068e7d703986257eb57ee65dcd1bd554308ffded (patch) | |
| tree | feba691fb97afa5b086e1e08b02c9ba10f1a10b4 /src | |
| parent | a39a36aec937bebd74fa1a61afc9576655a723c6 (diff) | |
| parent | a29c8347f2b196c4d5f755d02ab5d65b9be98849 (diff) | |
| download | rust-068e7d703986257eb57ee65dcd1bd554308ffded.tar.gz rust-068e7d703986257eb57ee65dcd1bd554308ffded.zip | |
Rollup merge of #27175 - steveklabnik:channels_plus_travis, r=alexcrichton
This should help people configure travis to test all three channels.
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc/trpl/release-channels.md | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/doc/trpl/release-channels.md b/src/doc/trpl/release-channels.md index 03e65539a20..1e203c6553e 100644 --- a/src/doc/trpl/release-channels.md +++ b/src/doc/trpl/release-channels.md @@ -43,3 +43,26 @@ This will help alert the team in case there’s an accidental regression. Additionally, testing against nightly can catch regressions even sooner, and so if you don’t mind a third build, we’d appreciate testing against all channels. +As an example, many Rust programmers use [Travis](https://travis-ci.org/) to +test their crates, which is free for open source projects. Travis [supports +Rust directly][travis], and you can use a `.travis.yml` file like this to +test on all channels: + +```yaml +language: rust +rust: + - nightly + - beta + - stable + +matrix: + allow_failures: + - rust: nightly +``` + +[travis]: http://docs.travis-ci.com/user/languages/rust/ + +With this configuration, Travis will test all three channels, but if something +breaks on nightly, it won’t fail your build. A similar configuration is +recommended for any CI system, check the documentation of the one you’re +using for more details. |
