From 03f9e8fce01a284b7834c0efc8be52afe5525ebf Mon Sep 17 00:00:00 2001 From: Hal Gentz Date: Sun, 28 Jul 2019 03:09:31 -0600 Subject: [PATCH] Always use stable rustfmt for CI. (#1074) Signed-off-by: Hal Gentz --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7e6bc833..17a0e4af 100644 --- a/.travis.yml +++ b/.travis.yml @@ -45,10 +45,11 @@ matrix: install: - rustup self update - rustup target add $TARGET; true - - rustup component add rustfmt + - rustup toolchain install stable + - rustup component add rustfmt --toolchain stable script: - - cargo fmt --all -- --check + - cargo +stable fmt --all -- --check - cargo build --target $TARGET --verbose - cargo build --target $TARGET --features serde --verbose # Running iOS apps on OSX requires the simulator so we skip that for now