Skip to content

Commit

Permalink
Add appveyor config
Browse files Browse the repository at this point in the history
The configuration is based on the sample from [here][1]. Since Appveyor
does not run jobs in parallel it is currently only running the tests
against stable rust to avoid slowing down the builds too much.

[1]: https://github.com/starkat99/appveyor-rust
  • Loading branch information
dsander committed Jun 5, 2018
1 parent b5909f5 commit e3beb70
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
os: Visual Studio 2015

environment:
REDISRS_SERVER_TYPE: tcp
RUST_BACKTRACE: 1
matrix:
- channel: stable
target: x86_64-pc-windows-msvc
- channel: stable
target: x86_64-pc-windows-gnu
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
- rustc -vV
- cargo -vV
- cmd: nuget install redis-64 -excludeversion
- set PATH=%PATH%;%APPVEYOR_BUILD_FOLDER%\redis-64\tools\

build: false

test_script:
- cargo test --verbose %cargoflags%

0 comments on commit e3beb70

Please sign in to comment.