diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-10 06:38:14 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-10 06:38:14 +0000 |
commit | 17802b55dde53a4e65c537706052e62dfa458cd0 (patch) | |
tree | 65b72f3f31142efa351a379ae0d91918d962b015 /appveyor.yml | |
parent | a60a7e81126dcf83435f3ff7a44367c6afab99d0 (diff) | |
download | ruby-17802b55dde53a4e65c537706052e62dfa458cd0.tar.gz |
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
Diffstat (limited to 'appveyor.yml')
-rw-r--r-- | appveyor.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/appveyor.yml b/appveyor.yml index 14122bb59e..1268a7f7e9 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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 |