-
Notifications
You must be signed in to change notification settings - Fork 166
Run clippy on Travis-CI #353
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Rebased. |
Oh, I just noticed this on Travis-CI:
|
I guess |
But it's nice to see Travis-CI passing for |
@spl Yes, I believe that for non-core components such as clippy, it's not guaranteed that they'll be available on nightly. Based on the small sample size, it looks like that happens non-negligibly often, but nightly failures are OK anyway so I don't think we need to do anything special to deal with those failures. Stable and beta will always have clippy, I think. |
Codecov Report
@@ Coverage Diff @@
## master #353 +/- ##
=======================================
Coverage 39.61% 39.61%
=======================================
Files 135 135
Lines 59496 59496
=======================================
Hits 23569 23569
Misses 35927 35927 Continue to review full report at Codecov.
|
The rustfmt and clippy components may not be available for nightly Rust. In order to avoid spurious failures, we'll only fetch rustfmt and clippy for the main build.
I think it's better to to avoid spurious failures even for |
👍 |
This causes Travis-CI to fail if
clippy
finds any warning lints. It will, of course, fail now, since there are warnings to be found. But if #351 and #352 are merged and this branch is updated, it will pass.