From 1dea779eeba3ac50455c6ea0892f8914c1464816 Mon Sep 17 00:00:00 2001 From: Alexande B Date: Fri, 29 Mar 2019 21:52:35 +0300 Subject: [PATCH] Add appvyor config --- README.adoc | 2 ++ appveyor.yml | 30 ++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 appveyor.yml diff --git a/README.adoc b/README.adoc index 3a7b8c8..03bf022 100644 --- a/README.adoc +++ b/README.adoc @@ -3,6 +3,8 @@ image:https://img.shields.io/gem/v/reverse_asciidoctor.svg["Gem Version", link="https://rubygems.org/gems/reverse_asciidoctor"] image:https://img.shields.io/travis/metanorma/reverse_asciidoctor/master.svg["Build Status", link="https://travis-ci.org/metanorma/reverse_asciidoctor"] image:https://codeclimate.com/github/metanorma/reverse_asciidoctor/badges/gpa.svg["Code Climate", link="https://codeclimate.com/github/metanorma/reverse_asciidoctor"] +image:https://ci.appveyor.com/api/projects/status/s4st0ft8moay90m6?svg=true["Appveyor Build Status", link="https://ci.appveyor.com/project/ribose/reverse-asciidoctor"] + Based on https://github.com/xijo/reverse_markdown diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..179e1ae --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,30 @@ +version: '{build}' + +environment: + matrix: + - RUBY_VERSION: 25 + - RUBY_VERSION: 24 + - RUBY_VERSION: 23 + - RUBY_VERSION: _trunk + +matrix: + allow_failures: + - RUBY_VERSION: _trunk + +install: + - ps: . { iwr -useb https://raw.githubusercontent.com/metanorma/metanorma-build-scripts/master/appveyor.ps1 } | iex + - refreshenv + +build_script: + - set PATH=C:\Ruby%RUBY_VERSION%\bin;%PATH% + - bundle update + - bundle install + +before_test: + - ruby -v + - gem -v + - bundle -v + +test_script: + - bundle exec rake +