From 65b4f6aae7f83df02449f21d857e640911975a36 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Wed, 12 Dec 2018 21:46:12 +0100 Subject: Fix rustfmt across channels --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 77f5fdf..343cc63 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,9 @@ rust: cache: cargo before_script: -- rustup component add rustfmt-preview +- if [[ "${TRAVIS_RUST_VERSION}" == stable ]]; then + rustup component add rustfmt; + fi script: - cargo test --all -- cgit