From ea56160cdcce3ae4d47270edad9cd49b7245f804 Mon Sep 17 00:00:00 2001 From: petr-tik Date: Mon, 12 Aug 2019 00:25:47 +0100 Subject: [PATCH] Added cargo-fmt to CI runs (#627) * Added cargo-fmt to CI runs Closes #625 * Remove fmt from appveyor builds Windows seems to have issues with install components through rustup. Formatting should be equally informative regardless of the OS, so best to keep it in Linux on Travis --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 9fc2578c8..c4c59cd62 100644 --- a/.travis.yml +++ b/.travis.yml @@ -47,6 +47,7 @@ matrix: before_install: - set -e - rustup self update + - rustup component add rustfmt install: - sh ci/install.sh @@ -60,6 +61,7 @@ before_script: script: - bash ci/script.sh + - cargo fmt --all -- --check before_deploy: - sh ci/before_deploy.sh