Parcourir la source

travis: try to reinstall stable toolchain to get cargo-fmt

Mokhtar Naamani il y a 5 ans
Parent
commit
2c1cb8a21f
1 fichiers modifiés avec 2 ajouts et 4 suppressions
  1. 2 4
      .travis.yml

+ 2 - 4
.travis.yml

@@ -9,10 +9,8 @@ rust:
 #  - cargo
 
 before_script:
-  # Do a self update before installing rustfmt - https://github.com/rust-lang/rustfmt/issues/3271
-  - rustup self update
-  - rustup component add rustfmt
-  - ./setup.sh
+  # https://github.com/rust-lang/rustup/issues/1558#issuecomment-452110409
+  - rustup toolchain remove stable && rustup toolchain install stable
 
 script:
   # Ensure all checked in code is cargo-fmt'ed