]> git.lizzy.rs Git - rust.git/blobdiff - appveyor.yml
Use span_lint_and_sugg
[rust.git] / appveyor.yml
index c5fb71c12664b8bd991b1d9e541df770ca34fcab..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
@@ -22,9 +23,10 @@ install:
 build: false
 
 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 ..