From 6d2025634c952ed659468aa03633b2b610794eac Mon Sep 17 00:00:00 2001 From: Drakulix Date: Mon, 20 Mar 2017 15:43:57 +0100 Subject: [PATCH] Fix travis using outdated rustfmt --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index cb938e1..885f206 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,6 +26,8 @@ branches: before_script: - export PATH=$HOME/.local/bin:$HOME/.cargo/bin:$PATH - which rustfmt || cargo install rustfmt + - which cargo-install-update || cargo install cargo-update + - cargo install-update -a - pip install 'travis-cargo<0.2' --user - mkdir $(pwd)/socket - export XDG_RUNTIME_DIR="$(pwd)/socket"