aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/appveyor.yml
diff options
context:
space:
mode:
authoreregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-09-28 09:19:59 +0000
committereregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-09-28 09:19:59 +0000
commit52d2636f3e7658f76136310359c2ba00e613d2bd (patch)
tree523a193924876ba20fe00debc3f45765fb21bd79 /spec/ruby/appveyor.yml
parentc555bd7f01c531af8d33ed494b278a765381afd9 (diff)
downloadruby-52d2636f3e7658f76136310359c2ba00e613d2bd.tar.gz
Update to ruby/spec@691755d
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec/ruby/appveyor.yml')
-rw-r--r--spec/ruby/appveyor.yml19
1 files changed, 15 insertions, 4 deletions
diff --git a/spec/ruby/appveyor.yml b/spec/ruby/appveyor.yml
index 544bea7d1b..8ee5abd8b4 100644
--- a/spec/ruby/appveyor.yml
+++ b/spec/ruby/appveyor.yml
@@ -1,18 +1,29 @@
---
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:
- - SET PATH=C:\Ruby%RUBY_VERSION%\bin;%PATH%
- - ruby --version
- - call "C:\Ruby23-x64\DevKit\devkitvars.bat"
- git clone https://github.com/ruby/mspec.git ../mspec
build: off
test_script:
- SET CHECK_LEAKS=true
- - ../mspec/bin/mspec -ff
+ - ../mspec/bin/mspec -rdevkit -ff
+on_finish:
+ - ruby -v
+matrix:
+ allow_failures:
+ - ruby_version: _trunk
branches:
only:
- master