Skip to content

Commit 997f737

Browse files
committed
appveyor: Use ridk
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
1 parent e80dff1 commit 997f737

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

appveyor.yml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@ version: '{build}'
55

66
install:
77
- SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
8-
- "%devkit%\\devkitvars.bat"
8+
- IF %ridk%==0 "%devkit%\\devkitvars.bat"
99
- ruby --version
1010
- gem --version
11-
- bundle install
11+
- IF %ridk%==0 bundle install
12+
- IF %ridk%==1 ridk.cmd exec bundle install
1213
build: off
1314
test_script:
1415
- bundle exec rake test
@@ -17,26 +18,32 @@ test_script:
1718
environment:
1819
matrix:
1920
- ruby_version: "25-x64"
20-
devkit: C:\Ruby25-x64\DevKit
21+
ridk: 1
2122
- ruby_version: "25"
22-
devkit: C:\Ruby25\DevKit
23+
ridk: 1
2324
- ruby_version: "24-x64"
24-
devkit: C:\Ruby24-x64\DevKit
25+
ridk: 1
2526
- ruby_version: "24"
26-
devkit: C:\Ruby24\DevKit
27+
ridk: 1
2728
- ruby_version: "23-x64"
2829
devkit: C:\Ruby23-x64\DevKit
30+
ridk: 0
2931
- ruby_version: "23"
3032
devkit: C:\Ruby23\DevKit
33+
ridk: 0
3134
- ruby_version: "22-x64"
3235
devkit: C:\Ruby22-x64\DevKit
36+
ridk: 1
3337
- ruby_version: "21-x64"
3438
devkit: C:\Ruby21-x64\DevKit
39+
ridk: 1
3540
- ruby_version: "22"
3641
devkit: C:\Ruby22\DevKit
42+
ridk: 1
3743
WIN_RAPID: true
3844
- ruby_version: "21"
3945
devkit: C:\Ruby21\DevKit
46+
ridk: 1
4047
WIN_RAPID: true
4148
matrix:
4249
allow_failures:

0 commit comments

Comments
 (0)