summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml9
-rw-r--r--README.md6
-rw-r--r--rust-toolchain1
3 files changed, 14 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 4292ca5..40cd744 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,11 +1,18 @@
language: rust
+# 2020-06-17 - nightly hasn't had rustfmt since 2020-06-10, so builds fail on
+# that toolchain. We want to use it as far as is possible, though.
rust:
- nightly
+ - nightly-2020-06-10
+
+jobs:
+ allow_failures:
+ - rust: nightly
cache: cargo
install:
- - rustup component add clippy
+ - rustup component add clippy rustfmt
- cargo install cargo-udeps
- cargo build
diff --git a/README.md b/README.md
index cfdd2f2..9cffd6d 100644
--- a/README.md
+++ b/README.md
@@ -13,6 +13,12 @@ I thought this was such a good idea, I turned it into a web bot.
Want to work on this code, or run it yourself? Install the following:
* [An installed copy of the Rust toolchain](https://rustup.rs).
+* The `nightly` toolchain:
+
+ ```bash
+ rustup toolchain add nightly
+ rustup override set nightly
+ ```
Building, testing, &c follow Rust norms: use
[Cargo](https://doc.rust-lang.org/cargo/guide/working-on-an-existing-project.html)
diff --git a/rust-toolchain b/rust-toolchain
deleted file mode 100644
index bf867e0..0000000
--- a/rust-toolchain
+++ /dev/null
@@ -1 +0,0 @@
-nightly