File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -43,3 +43,26 @@ This will help alert the team in case there’s an accidental regression.
4343Additionally, testing against nightly can catch regressions even sooner, and so
4444if you don’t mind a third build, we’d appreciate testing against all channels.
4545
46+ As an example, many Rust programmers use [ Travis] ( https://travis-ci.org/ ) to
47+ test their crates, which is free for open source projects. Travis [ supports
48+ Rust directly] [ travis ] , and you can use a ` .travis.yml ` file like this to
49+ test on all channels:
50+
51+ ``` yaml
52+ language : rust
53+ rust :
54+ - nightly
55+ - beta
56+ - stable
57+
58+ matrix :
59+ allow_failures :
60+ - rust : nightly
61+ ` ` `
62+
63+ [travis]: http://docs.travis-ci.com/user/languages/rust/
64+
65+ With this configuration, Travis will test all three channels, but if something
66+ breaks on nightly, it won’t fail your build. A similar configuration is
67+ recommended for any CI system, check the documentation of the one you’re
68+ using for more details.
You can’t perform that action at this time.
0 commit comments