1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Use environment variable for system ruby detection on appveyor.

* Use ruby_version instead of 22-x64 and 21-x64
 * Use 23-x64 to build Ruby

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
hsbt 2016-11-10 06:38:14 +00:00
parent a60a7e8112
commit 17802b55dd

View file

@ -1,10 +1,12 @@
---
shallow_clone: true
platform: x64
environment:
ruby_version: "23-x64"
install:
- SET
- '"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" amd64'
- SET PATH=\usr\local\bin;C:\Ruby22-x64\bin;C:\Ruby21-x64\Devkit\mingw\bin;%PATH%;C:\msys64\usr\bin
- SET PATH=\usr\local\bin;C:\Ruby%ruby_version%\bin;C:\Ruby%ruby_version%\Devkit\mingw\bin;%PATH%;C:\msys64\usr\bin
- ruby --version
- 'cl'
- SET