-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy path.appveyor.yml
41 lines (33 loc) · 975 Bytes
/
.appveyor.yml
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
30
31
32
33
34
35
36
37
38
39
40
41
version: '0.1.{build}'
platform: x64
environment:
matrix:
- APPVEYOR_RUST_CHANNEL: stable
- APPVEYOR_RUST_CHANNEL: beta
- APPVEYOR_RUST_CHANNEL: nightly
matrix:
allow_failures:
- APPVEYOR_RUST_CHANNEL: nightly
install:
# Install RabbitMQ
- ps: .\ci\install.ps1
# Install rust and cargo
- appveyor-retry appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
- rustup-init.exe -y --default-host x86_64-pc-windows-msvc --default-toolchain %APPVEYOR_RUST_CHANNEL%
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
# Debug information
- rustc -V
- cargo -V
build: false
test_script:
- cargo build --all --all-features
- cargo test --all --all-features
cache:
- C:\Users\appveyor\.cargo\registry -> Cargo.lock
# Note: this must match the $rabbitmq_installer_path value in
# .\ci\install.ps1
- "%HOMEDRIVE%%HOMEPATH%\rabbitmq-server-3.7.4.exe"
branches:
only:
- master
- /^v\d+\.\d+(\.\d+)?(-\S*)?$/