2017-05-07 08:04:49 -04:00
|
|
|
---
|
|
|
|
version: "{build}"
|
|
|
|
clone_depth: 5
|
2017-09-28 05:19:59 -04:00
|
|
|
init:
|
|
|
|
# To avoid duplicated executables in PATH, see https://github.com/ruby/spec/pull/468
|
2018-06-13 17:41:45 -04:00
|
|
|
- set PATH=C:\Ruby%ruby_version%\bin;C:\Program Files\7-Zip;C:\Program Files\AppVeyor\BuildAgent;C:\Program Files\Git\cmd;C:\Windows\system32;C:\Program Files;C:\Windows
|
2017-09-28 05:19:59 -04:00
|
|
|
# Loads trunk build and updates MSYS2 / MinGW to most recent gcc compiler
|
2018-06-13 17:41:45 -04:00
|
|
|
- ps: |
|
|
|
|
if ($env:ruby_version -eq '_trunk') {
|
|
|
|
$trunk_uri = 'https://ci.appveyor.com/api/projects/MSP-Greg/ruby-loco/artifacts/ruby_trunk.7z'
|
|
|
|
(New-Object Net.WebClient).DownloadFile($trunk_uri, 'C:\ruby_trunk.7z')
|
|
|
|
7z.exe x C:\ruby_trunk.7z -oC:\Ruby_trunk
|
|
|
|
}
|
|
|
|
|
2017-05-07 08:04:49 -04:00
|
|
|
environment:
|
|
|
|
matrix:
|
2018-06-13 17:41:45 -04:00
|
|
|
- ruby_version: 24-x64
|
|
|
|
- ruby_version: 25-x64
|
|
|
|
- ruby_version: _trunk # So the folder name is ruby_trunk
|
2017-05-07 08:04:49 -04:00
|
|
|
install:
|
|
|
|
- git clone https://github.com/ruby/mspec.git ../mspec
|
|
|
|
build: off
|
|
|
|
test_script:
|
|
|
|
- SET CHECK_LEAKS=true
|
2017-09-28 05:19:59 -04:00
|
|
|
- ../mspec/bin/mspec -rdevkit -ff
|
|
|
|
on_finish:
|
|
|
|
- ruby -v
|
|
|
|
matrix:
|
|
|
|
allow_failures:
|
|
|
|
- ruby_version: _trunk
|
2017-05-07 08:04:49 -04:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
- /^try/
|