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();