Skip to content

Commit 6af5f88

Browse files
authored
Merge pull request #60 from fluent/appveyor-update-ruby
appveyor: Organize ruby versions
2 parents 9d17dd4 + f16b352 commit 6af5f88

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

appveyor.yml

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,50 @@
11
version: '{build}'
2+
3+
# init:
4+
# - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
5+
26
install:
37
- SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
4-
- "%devkit%\\devkitvars.bat"
8+
- IF %ridk%==0 "%devkit%\\devkitvars.bat"
59
- ruby --version
610
- gem --version
7-
- bundle install
11+
- IF %ridk%==0 bundle install
12+
- IF %ridk%==1 ridk.cmd exec bundle install
813
build: off
914
test_script:
1015
- bundle exec rake test
1116

1217
# https://www.appveyor.com/docs/installed-software/#ruby
1318
environment:
1419
matrix:
20+
- ruby_version: "25-x64"
21+
ridk: 1
22+
- ruby_version: "25"
23+
ridk: 1
24+
- ruby_version: "24-x64"
25+
ridk: 1
26+
- ruby_version: "24"
27+
ridk: 1
1528
- ruby_version: "23-x64"
1629
devkit: C:\Ruby23-x64\DevKit
30+
ridk: 0
1731
- ruby_version: "23"
1832
devkit: C:\Ruby23\DevKit
33+
ridk: 0
1934
- ruby_version: "22-x64"
2035
devkit: C:\Ruby23-x64\DevKit
36+
ridk: 0
2137
- ruby_version: "21-x64"
2238
devkit: C:\Ruby23-x64\DevKit
39+
ridk: 0
2340
- ruby_version: "22"
2441
devkit: C:\Ruby23\DevKit
2542
WIN_RAPID: true
43+
ridk: 0
2644
- ruby_version: "21"
2745
devkit: C:\Ruby23\DevKit
2846
WIN_RAPID: true
47+
ridk: 0
2948
matrix:
3049
allow_failures:
3150
- ruby_version: "21"

0 commit comments

Comments
 (0)