summaryrefslogtreecommitdiff
path: root/appveyor.yml
diff options
context:
space:
mode:
authorThom May <thom@may.lt>2018-04-11 10:52:01 +0100
committerGitHub <noreply@github.com>2018-04-11 10:52:01 +0100
commitee7cf0e98d4012373a4dc55c14635d78fe8ea2b0 (patch)
tree2d1d3db50d491e75fa5faf0b2315c589d2de4523 /appveyor.yml
parent7c754a5ebdc3a66e028783dbc15ec616f876e2f9 (diff)
downloadmixlib-log-ee7cf0e98d4012373a4dc55c14635d78fe8ea2b0.tar.gz
Add appveyor config (#36)
Add appveyor config Signed-off-by: Thom May <thom@may.lt>
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml41
1 files changed, 41 insertions, 0 deletions
diff --git a/appveyor.yml b/appveyor.yml
new file mode 100644
index 0000000..9247b10
--- /dev/null
+++ b/appveyor.yml
@@ -0,0 +1,41 @@
+version: "master-{build}"
+
+os: Visual Studio 2017
+platform:
+ - x64
+
+cache:
+ - vendor/bundle
+
+environment:
+ matrix:
+ - ruby_version: "25-x64"
+
+clone_depth: 1
+skip_tags: true
+skip_branch_with_pr: true
+branches:
+ only:
+ - master
+
+install:
+ - systeminfo
+ - SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
+ - echo %PATH%
+ - appveyor DownloadFile http://curl.haxx.se/ca/cacert.pem -FileName C:\cacert.pem
+ - set SSL_CERT_FILE=C:\cacert.pem
+ - SET BUNDLE_WITHOUT=server:docgen:maintenance:pry:travis:integration:ci
+ - bundle config --local path vendor/bundle # use the cache we define above
+ - bundle install || bundle install || bundle install
+
+build: off
+
+before_test:
+ - ruby --version
+ - gem --version
+ - bundler --version
+ - bundle env
+
+test_script:
+ - SET SPEC_OPTS=--format progress
+ - bundle exec rake \ No newline at end of file