summaryrefslogtreecommitdiffstats
path: root/appveyor.yml
blob: 2d5a4458bdac1a5ea2c24554ab987380693ffec1 (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
# Appveyor configuration template for Rust using rustup for Rust installation
# https://github.com/starkat99/appveyor-rust

os: Visual Studio 2015
environment:
  matrix:
    - channel: nightly
      target: x86_64-pc-windows-msvc
    - channel: nightly
      target: x86_64-pc-windows-gnu
      msys_bits: 64

install:
  - 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
  - if defined msys_bits set PATH=%PATH%;C:\msys64\mingw%msys_bits%\bin
  - rustc -vV
  - cargo -vV

build: false

test_script:
  - REM SET RUST_LOG=tantivy,test & cargo test --verbose
  - REM SET RUST_BACKTRACE=1 & cargo run --example simple_search