summaryrefslogtreecommitdiff
path: root/appveyor.yml
diff options
context:
space:
mode:
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml11
1 files changed, 6 insertions, 5 deletions
diff --git a/appveyor.yml b/appveyor.yml
index df5879c..268e8db 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -1,12 +1,12 @@
version: "master-{build}"
-os: Windows Server 2012
+os: Windows Server 2012 R2
platform:
- x64
environment:
matrix:
- - ruby_version: "200"
+ - RUBY_VERSION: "23"
clone_folder: c:\projects\ffi-yajl
clone_depth: 1
@@ -16,11 +16,12 @@ branches:
- master
install:
- - SET PATH=C:\Ruby%ruby_version%\bin;%SystemRoot%\System32;%SystemRoot%;%SystemRoot%\System32\Wbem
+ - SET PATH=C:\Ruby%RUBY_VERSION%\bin;C:\Ruby23\DevKit\mingw\bin;C:\Ruby23\DevKit\bin;%PATH%
- echo %PATH%
- ruby --version
+ - gem update --system || gem update --system || gem update --system
- gem --version
- - gem install bundler --quiet --no-ri --no-rdoc
+ - gem install bundler --quiet --no-ri --no-rdoc || gem install bundler --quiet --no-ri --no-rdoc || gem install bundler --quiet --no-ri --no-rdoc
- bundler --version
build_script:
@@ -28,7 +29,7 @@ build_script:
test_script:
# compile needs to have the devkit loaded up
- - C:\Ruby21\DevKit\devkitvars.bat
+ # - C:\Ruby21\DevKit\devkitvars.bat
- echo %PATH%
- bundle exec rake compile
- bundle exec rake spec