]> git.lizzy.rs Git - rust.git/blobdiff - appveyor.yml
Auto merge of #4318 - izik1:typo, r=phansch
[rust.git] / appveyor.yml
index c852cd8232e1ef6582780d15c5506f6d38a53320..092a5c80a8eb4103b7098e531ec80d19708bf04b 100644 (file)
@@ -8,11 +8,10 @@ environment:
         - TARGET: x86_64-pc-windows-msvc
 
 branches:
-    # Don't build these branches
-    except:
-        # Used by bors
-        - trying.tmp
-        - staging.tmp
+    # Only build AppVeyor on r+ and try branch
+    only:
+      - auto
+      - try
 
 install:
     - curl -sSf -o rustup-init.exe https://win.rustup.rs/
@@ -23,6 +22,7 @@ install:
     - del rust-toolchain
     - cargo install rustup-toolchain-install-master --debug || echo "rustup-toolchain-install-master already installed"
     - rustup-toolchain-install-master %RUSTC_HASH% -f -n master
+    - rustup component add rustfmt --toolchain nightly || echo "rustfmt nightly is unavailable"
     - rustup default master
     - set PATH=%PATH%;C:\Users\appveyor\.rustup\toolchains\master\bin
     - rustc -V