]> git.lizzy.rs Git - rust.git/blobdiff - appveyor.yml
tests: add files for issue 4579
[rust.git] / appveyor.yml
index 9a4dcf02b95b806071dba94e98a7ad1471125e73..b3dda091e0a9607e75c79e3551c1ae59f85c60df 100644 (file)
@@ -1,58 +1,8 @@
-# This is based on https://github.com/japaric/rust-everywhere/blob/master/appveyor.yml\r
-# and modified (mainly removal of deployment) to suit rustfmt.\r
-\r
-environment:\r
-  global:\r
-    PROJECT_NAME: rustfmt\r
-  matrix:\r
-    # Stable channel\r
-    - TARGET: i686-pc-windows-gnu\r
-      CHANNEL: stable\r
-    - TARGET: i686-pc-windows-msvc\r
-      CHANNEL: stable\r
-    - TARGET: x86_64-pc-windows-gnu\r
-      CHANNEL: stable\r
-    - TARGET: x86_64-pc-windows-msvc\r
-      CHANNEL: stable\r
-    # Beta channel\r
-    - TARGET: i686-pc-windows-gnu\r
-      CHANNEL: beta\r
-    - TARGET: i686-pc-windows-msvc\r
-      CHANNEL: beta\r
-    - TARGET: x86_64-pc-windows-gnu\r
-      CHANNEL: beta\r
-    - TARGET: x86_64-pc-windows-msvc\r
-      CHANNEL: beta\r
-    # Nightly channel\r
-    - TARGET: i686-pc-windows-gnu\r
-      CHANNEL: nightly\r
-    - TARGET: i686-pc-windows-msvc\r
-      CHANNEL: nightly\r
-    - TARGET: x86_64-pc-windows-gnu\r
-      CHANNEL: nightly\r
-    - TARGET: x86_64-pc-windows-msvc\r
-      CHANNEL: nightly\r
-\r
-# Install Rust and Cargo\r
-# (Based on from https://github.com/rust-lang/libc/blob/master/appveyor.yml)\r
-install:\r
-  - ps: Start-FileDownload "https://static.rust-lang.org/dist/channel-rust-stable"\r
-  - ps: $env:RUST_VERSION = Get-Content channel-rust-stable | select -first 1 | %{$_.split('-')[1]}\r
-  - if NOT "%CHANNEL%" == "stable" set RUST_VERSION=%CHANNEL%\r
-  - ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-${env:RUST_VERSION}-${env:TARGET}.exe"\r
-  - rust-%RUST_VERSION%-%TARGET%.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust"\r
-  - SET PATH=%PATH%;C:\Program Files (x86)\Rust\bin\r
-  - if "%TARGET%" == "i686-pc-windows-gnu" set PATH=%PATH%;C:\msys64\mingw32\bin\r
-  - if "%TARGET%" == "x86_64-pc-windows-gnu" set PATH=%PATH%;C:\msys64\mingw64\bin\r
-  - rustc -V\r
-  - cargo -V\r
-\r
-# ???\r
-build: false\r
-\r
-# Build rustfmt, run the executables as\r
-test_script:\r
-  - cargo build --verbose\r
-  - cargo run --bin rustfmt -- --help\r
-  - cargo run --bin cargo-fmt -- --help\r
-  - cargo test\r
+environment:
+  global:
+    PROJECT_NAME: rustfmt
+
+build: false
+
+test_script:
+  - echo Why does no one have access to delete me?