]> git.lizzy.rs Git - rust.git/blobdiff - appveyor.yml
Use span_lint_and_sugg
[rust.git] / appveyor.yml
index d83d3478c326b644d2ea796d57a2c8f32f74de3a..6f9ead88b2a7a343b585b63aafb5c8af0faee0f0 100644 (file)
@@ -12,6 +12,7 @@ environment:
           MSYS2_BITS: 64
 
 install:
+    - set PATH=C:\Program Files\Git\mingw64\bin;%PATH%
     - curl -sSf -o rustup-init.exe https://win.rustup.rs/
     - rustup-init.exe -y --default-host %TARGET% --default-toolchain nightly
     - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin;C:\Users\appveyor\.rustup\toolchains\nightly-%TARGET%\bin
@@ -25,7 +26,7 @@ test_script:
     - set RUST_BACKTRACE=1
     - cargo build --features debugging
     - cargo test --features debugging
-    - copy target\debug\cargo-clippy.exe C:\Users\appveyor\.cargo\bin\
+    - copy clippy_tests\target\debug\cargo-clippy.exe C:\Users\appveyor\.cargo\bin\
     - cargo clippy -- -D clippy
     - cd clippy_lints && cargo clippy -- -D clippy && cd ..