From feaad8d94d72e014aa58bc1ed844c3b396cc8d7b Mon Sep 17 00:00:00 2001 From: Ed Page Date: Fri, 14 Jun 2019 14:26:13 -0600 Subject: [PATCH] chore(CI): Update rustc --- .travis.yml | 7 +++---- build.rs | 1 + 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index d51ad24..12aebc1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,25 +1,24 @@ sudo: false language: rust rust: -- 1.31.0 # oldest supported version - stable - beta - nightly matrix: include: - env: RUSTFMT - rust: 1.31.0 # `stable`: Locking down for consistent behavior + rust: 1.35.0 # `stable`: Locking down for consistent behavior install: - rustup component add rustfmt script: - cargo fmt -- --check - env: RUSTFLAGS="-D warnings" - rust: 1.31.0 # `stable`: Locking down for consistent behavior + rust: 1.35.0 # `stable`: Locking down for consistent behavior install: script: - cargo check --tests - env: CLIPPY - rust: 1.31.0 # `stable`: Locking down for consistent behavior + rust: 1.35.0 # `stable`: Locking down for consistent behavior install: - rustup component add clippy script: diff --git a/build.rs b/build.rs index 8458fcb..143b5ce 100644 --- a/build.rs +++ b/build.rs @@ -24,6 +24,7 @@ fn main() { for record in &records { let value = format!(r#""{}""#, &record[1]); builder.entry(unicase::UniCase(&record[0]), &value); + break; } builder.build(&mut file).unwrap(); write!(&mut file, ";\n").unwrap();