summaryrefslogtreecommitdiffhomepage
path: root/appveyor.yml
diff options
context:
space:
mode:
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml38
1 files changed, 38 insertions, 0 deletions
diff --git a/appveyor.yml b/appveyor.yml
new file mode 100644
index 000000000..b4514ec27
--- /dev/null
+++ b/appveyor.yml
@@ -0,0 +1,38 @@
+version: "{build}"
+
+os: Visual Studio 2015
+
+clone_depth: 50
+
+
+cache:
+ - win_flex_bison-2.5.10.zip
+
+
+environment:
+ matrix:
+ # Visual Studio 2015 64bit
+ - visualcpp: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat
+ machine: amd64
+
+ # Visual Studio 2013 64bit
+ - visualcpp: C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat
+ machine: amd64
+
+
+init:
+ - call "%visualcpp%" %machine%
+ # For using Rubyinstaller's Ruby 2.4 64bit
+ - set PATH=C:\Ruby24-x64\bin;%PATH%
+ - ruby --version
+
+
+install:
+ - if not exist win_flex_bison-2.5.10.zip appveyor DownloadFile "https://github.com/lexxmark/winflexbison/releases/download/v.2.5.10/win_flex_bison-2.5.10.zip"
+ - 7z x -y -owin_flex_bison win_flex_bison-2.5.10.zip > nul
+
+
+build_script:
+ - set YACC=.\win_flex_bison\win_bison.exe
+ - set MRUBY_CONFIG=appveyor_config.rb
+ - ruby .\minirake test all