diff --git a/.travis.yml b/.travis.yml index 59eb4c35..1be9077d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,9 +16,10 @@ addons: - kalakris-cmake before_script: - - cargo install cargo-travis || echo "cargo-travis already installed" - - export PATH=$HOME/.cargo/bin:$PATH - - which rustfmt || cargo install rustfmt-nightly + - | + cargo install cargo-travis || echo "cargo-travis already installed" + export PATH=$HOME/.cargo/bin:$PATH + which rustfmt || cargo install rustfmt-nightly script: - cargo fmt -- --write-mode=diff