Skip to content

Commit

Permalink
appveyor: Re-start testing real usage
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmo0920 committed Feb 4, 2018
1 parent cf2da0b commit e8b197b
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,13 @@ environment:
- TARGET: x86_64-pc-windows-msvc
BITS: 64
RUSTVER: 1.23.0
ruby_version: "23-x64"
devkit: C:\Ruby23-x64\DevKit
- TARGET: x86_64-pc-windows-msvc
BITS: 64
RUSTVER: 1.23.0
ruby_version: "23"
devkit: C:\Ruby23\DevKit

install:
- ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-${env:RUSTVER}-${env:TARGET}.exe"
Expand All @@ -17,8 +21,20 @@ install:
- SET PATH=%PATH%;C:\MinGW\bin
- rustc -V
- cargo -V
- SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
- "%devkit%\\devkitvars.bat"
- 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
- cargo test --features "readme-testing fluentd"

after_test:
- ps: Stop-Process -Id $Env:FLUENTD_JOB_ID

0 comments on commit e8b197b

Please sign in to comment.