From 0160440ecc7ca2699abe6bf2f07cfd661448d001 Mon Sep 17 00:00:00 2001 From: Christoph Hartmann Date: Thu, 14 Jan 2016 23:22:48 -0500 Subject: [PATCH] activate appveyor --- appveyor.yml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 appveyor.yml diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 000000000..ae1458f2e --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,37 @@ +os: Windows Server 2012 R2 +platform: + - x64 + +environment: + matrix: + - ruby_version: "200-x64" + - ruby_version: "21" + +clone_folder: c:\projects\inspec +clone_depth: 1 +skip_tags: true +branches: + only: + - master + +install: + - systeminfo + - winrm quickconfig -q + - SET PATH=C:\Ruby%ruby_version%\bin;%PATH% + - echo %PATH% + - ruby --version + - gem install bundler --quiet --no-ri --no-rdoc + - gem update --system 2.4.5 + - gem --version + - bundler --version + +build_script: + - bundle install --without integration tools maintenance + +test_script: + - SET SPEC_OPTS=--format progress + - bundle exec rake + +cache: + - C:/Ruby200-x64/bin/gem + - C:/Ruby21/bin/gem