Quellcode durchsuchen

travis: rustup install rustfmt for specific toolchain

Mokhtar Naamani vor 5 Jahren
Ursprung
Commit
94d05d1f43
1 geänderte Dateien mit 1 neuen und 2 gelöschten Zeilen
  1. 1 2
      .travis.yml

+ 1 - 2
.travis.yml

@@ -9,8 +9,7 @@ rust:
 #  - cargo
 
 before_script:
-  # https://github.com/rust-lang/rustup/issues/1558#issuecomment-452110409
-  - rustup toolchain remove stable && rustup toolchain install stable
+  - rustup component add rustfmt --toolchain 1.40.0-x86_64-unknown-linux-gnu
 
 script:
   # Ensure all checked in code is cargo-fmt'ed