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
Run rustfmt on Travis #31
Conversation
Good idea. I'm guessing we should rebase this on top of #32 to see that it actually works. |
Yep! Although it did pass here earlier: https://travis-ci.org/ekmartin/distributary/builds/282452240 |
Rebased :) |
@ekmartin why did you close this? |
Woops, sorry. Deleted a bunch of branches on my fork while testing stuff with taster. |
|
IIRC, this happens if the Rust nightly is updated without also reinstalling I suspect something similar happens on Travis (e.g., they cache an old version of |
@ms705 is right -- this is caused by a version mismatch between the compiler and rustfmt. I've cleared the travis cache, which tends to help, but it's annoying to deal with nonetheless. |
This runs
rustfmt
with--write-mode=diff
on Travis, so that the build fails if there are formatting errors. It installsrustfmt
from git, with the SHA6e41100725267974fa6dcc61134d4377b676ad01
.Also shortened a few lines that were above 100 characters, to make the build pass.