From d1fdb6c4b9516040384419b33a522075f02b3f00 Mon Sep 17 00:00:00 2001 From: Alexande B Date: Fri, 29 Mar 2019 19:26:16 +0300 Subject: [PATCH] Add appvyor config --- README.adoc | 1 + appveyor.yml | 30 ++++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 appveyor.yml diff --git a/README.adoc b/README.adoc index 30376e5..24baa35 100644 --- a/README.adoc +++ b/README.adoc @@ -3,6 +3,7 @@ image:https://img.shields.io/gem/v/iev.svg["Gem Version", link="https://rubygems.org/gems/iev"] image:https://img.shields.io/travis/metanorma/iev/master.svg["Build Status", link="https://travis-ci.com/metanorma/iev"] image:https://codeclimate.com/github/metanorma/iev/badges/gpa.svg["Code Climate", link="https://codeclimate.com/github/metanorma/iev"] +image:https://ci.appveyor.com/api/projects/status/qifxbnyscgwgca0y?svg=true["Appveyor Build Status", link="https://ci.appveyor.com/project/ribose/iev"] Fetch and encode IEV term from Electropedia. 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 +