aboutsummaryrefslogtreecommitdiff
path: root/appveyor.yml
blob: e8beb0767ca1c004f7aa984e807e34ac03b514d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
os: Visual Studio 2015

environment:
  matrix:
  - channel: stable
    target: x86_64-pc-windows-msvc
  - channel: stable
    target: i686-pc-windows-msvc
  - channel: stable
    target: x86_64-pc-windows-gnu
  - channel: stable
    target: i686-pc-windows-gnu
install:
  # Set PATH for MinGW toolset
  - if %target% == x86_64-pc-windows-gnu set PATH=%PATH%;C:\msys64\mingw64\bin
  - if %target% == i686-pc-windows-gnu set PATH=%PATH%;C:\msys64\mingw32\bin

  # Install Rust toolset
  - appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
  - rustup-init -yv --default-toolchain %channel% --default-host %target%
  - set PATH=%PATH%;%USERPROFILE%\.cargo\bin
  - rustc -vV
  - cargo -vV

build: false

test_script:
  - cargo test
  - cargo test --no-default-features