mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
52d2636f3e
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
30 lines
1 KiB
YAML
30 lines
1 KiB
YAML
---
|
|
version: "{build}"
|
|
clone_depth: 5
|
|
init:
|
|
# To avoid duplicated executables in PATH, see https://github.com/ruby/spec/pull/468
|
|
- 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
|
|
# Loads trunk build and updates MSYS2 / MinGW to most recent gcc compiler
|
|
- if %ruby_version%==_trunk (
|
|
appveyor DownloadFile https://ci.appveyor.com/api/projects/MSP-Greg/ruby-loco/artifacts/ruby_trunk.7z -FileName C:\ruby_trunk.7z &
|
|
7z x C:\ruby_trunk.7z -oC:\ruby_trunk & C:\ruby_trunk\trunk_msys2.cmd)
|
|
environment:
|
|
matrix:
|
|
- RUBY_VERSION: 23-x64
|
|
- RUBY_VERSION: 24-x64
|
|
- RUBY_VERSION: _trunk # So the folder name is ruby_trunk
|
|
install:
|
|
- git clone https://github.com/ruby/mspec.git ../mspec
|
|
build: off
|
|
test_script:
|
|
- SET CHECK_LEAKS=true
|
|
- ../mspec/bin/mspec -rdevkit -ff
|
|
on_finish:
|
|
- ruby -v
|
|
matrix:
|
|
allow_failures:
|
|
- ruby_version: _trunk
|
|
branches:
|
|
only:
|
|
- master
|
|
- /^try/
|