-
Notifications
You must be signed in to change notification settings - Fork 287
Expand file tree
/
Copy pathappveyor.yml
More file actions
37 lines (27 loc) · 875 Bytes
/
appveyor.yml
File metadata and controls
37 lines (27 loc) · 875 Bytes
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
version: 1.0.{build}
image: Visual Studio 2019
environment:
matrix:
- PATH: C:\Ruby26-x64\bin;%PATH%
- PATH: C:\Ruby25-x64\bin;%PATH%
- PATH: C:\Ruby24-x64\bin;%PATH%
install:
- ps: >-
ridk install 2
ridk exec pacman -S --noconfirm mingw-w64-x86_64-libssh2 mingw-w64-x86_64-cmake
gem install bundler
bundle lock --add-platform ruby
try { start-process -wait -nonewwindow bundle 2> $null } catch { exit 0 }
build: off
test_script:
- ps: >-
ridk enable
$env:MINITEST_REPORTER="JUnitReporter"
bundle exec rake
on_finish:
- ps: >-
Get-ChildItem .\test\reports | ForEach-Object {
$wc = New-Object 'System.Net.WebClient'
echo "https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)"
$wc.UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", $_)
}