From 4d0864b27705cb9f8bc34808ceeabccee9360f25 Mon Sep 17 00:00:00 2001 From: Oliver Schneider Date: Tue, 20 Dec 2016 12:21:52 +0100 Subject: [PATCH] rustfmt is installed into the cargo bin dir --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 2ea2f30ffdbf..052a543bfd57 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,7 +24,7 @@ install: script: - remark -f README.md > /dev/null - python util/update_lints.py -c - - cargo fmt -- --write-mode=diff + - PATH=$PATH:~/.cargo/bin cargo fmt -- --write-mode=diff - set -e - cargo build --features debugging - cargo test --features debugging