Refactor travis.yml (rustfmt install)
@@ -10,9 +10,7 @@ before_install:
- sudo apt-get -qq update
install:
- sudo apt-get -qq --yes install gcc g++ make libsodium-dev libleveldb-dev libssl-dev
-before_script:
-- export PATH="$PATH:$HOME/.cargo/bin"
-- which rustfmt || cargo install rustfmt
+- cargo install rustfmt --force
script:
- cargo fmt -p blockchain_explorer -- --write-mode=diff
- cargo rustc --manifest-path exonum/Cargo.toml --features clippy -- -D warnings
