ruby-changes:44616
From: hsbt <ko1@a...>
Date: Thu, 10 Nov 2016 15:38:20 +0900 (JST)
Subject: [ruby-changes:44616] hsbt:r56689 (trunk): Use environment variable for system ruby detection on appveyor.
hsbt 2016-11-10 15:38:14 +0900 (Thu, 10 Nov 2016) New Revision: 56689 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=56689 Log: 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 Modified files: trunk/appveyor.yml Index: appveyor.yml =================================================================== --- appveyor.yml (revision 56688) +++ appveyor.yml (revision 56689) @@ -1,10 +1,12 @@ https://github.com/ruby/ruby/blob/trunk/appveyor.yml#L1 --- 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/