Skip to content

Commit db986fc

Browse files
committed
chore: allow nightly build to fail (#178)
Recent CI builds have failed on nightly due to a compiler bug: #174 (comment) In general, nightly Rust is unstable, and it may often fail for reasons that are not our fault. We shouldn't block merging branches on nightly failures, when they are often spurious or unrelated to `tracing`. It is, however, still good to look at these builds when possible. This branch allows failures on `nightly` CI builds. This means that the readme-doctest build is also allowed to fail, which is a shame. It would be good to find a solution for testing readme examples that doesn't require `nightly` Rust. I have some ideas for this that I'll try to address in a subsequent branch. Signed-off-by: Eliza Weisman <[email protected]>
1 parent ebacde0 commit db986fc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ script:
1313
- cargo test --all
1414

1515
jobs:
16+
allow_failures:
17+
- rust: nightly
1618
include:
1719
- script:
1820
- (cd tracing/test-log-support && cargo test)
@@ -26,4 +28,3 @@ jobs:
2628
- script: cargo test --features=doctest-readme --all
2729
name: "doctest readme"
2830
rust: nightly
29-

0 commit comments

Comments
 (0)