forked from jgrimes/fruently
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
41 lines (36 loc) · 1.1 KB
/
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: '{build}'
os:
- Visual Studio 2015
environment:
matrix:
- TARGET: x86_64-pc-windows-msvc
BITS: 64
RUSTVER: 1.29.2
ruby_version: "25-x64"
devkit: C:\Ruby23-x64\DevKit
- TARGET: x86_64-pc-windows-msvc
BITS: 64
RUSTVER: 1.29.2
ruby_version: "25"
devkit: C:\Ruby23\DevKit
install:
- ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-${env:RUSTVER}-${env:TARGET}.exe"
- rust-%RUSTVER%-%TARGET%.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust"
- SET PATH=%PATH%;C:\Program Files (x86)\Rust\bin
- SET PATH=%PATH%;C:\MinGW\bin
- rustc -V
- cargo -V
- SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
- "%devkit%\\devkitvars.bat"
- IF EXIST "%devkit%\\bin\\ridk.cmd" ridk.cmd enable
- ruby --version
- bundle install
build: false
before_test:
ps: |
$job = Start-Process bundle -ArgumentList "exec", "fluentd","-c", ".\conf\in_forward.conf" -NoNewWindow -PassThru
$Env:FLUENTD_JOB_ID = $job.Id
test_script:
- cargo test --features "readme-testing fluentd"
after_test:
- ps: Stop-Process -Id $Env:FLUENTD_JOB_ID