From 4a35df805b27b243bafadded21e2d080f4f66c51 Mon Sep 17 00:00:00 2001 From: Richard Whitehouse Date: Tue, 12 Jan 2021 09:40:23 +0000 Subject: [PATCH] Debugging rustfmt failure Signed-off-by: Richard Whitehouse --- .travis.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 62d1592d0e..44f0fa9702 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,7 +29,15 @@ matrix: before_script: - rustup component add rustfmt script: - - cargo fmt -- --check + - rustup component list --installed + - echo $PATH + - echo $HOME + - ls -l ~/.cargo/bin + - which rustc + - which cargo + - rustfmt --version + - rustfmt --edition 2018 --check /home/travis/build/Metaswitch/swagger-rs/src/lib.rs --verbose + - cargo fmt --verbose -- --check --verbose branches: only: - staging