From 18287f0ad21c8dcec5ec4962543a0ea0948ef6d5 Mon Sep 17 00:00:00 2001 From: Hal Gentz Date: Sat, 27 Jul 2019 18:45:58 -0600 Subject: [PATCH] Always use stable rustfmt for CI. Signed-off-by: Hal Gentz --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7e6bc8334ea..d37ef14cbd3 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 target add stable; true + - 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