diff --git a/.rubocop.yml b/.rubocop.yml index 1d1a30b..646ae5b 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -6,6 +6,9 @@ inherit_gem: AllCops: TargetRubyVersion: 2.3 +AllCops: + TargetRubyVersion: 2.3 + Metrics/LineLength: Exclude: - jekyll-sass-converter.gemspec diff --git a/History.markdown b/History.markdown index bd0deac..a9ab7b2 100644 --- a/History.markdown +++ b/History.markdown @@ -4,6 +4,10 @@ * Target Ruby 2.3 (#70) +### Development Fixes + + * Add appveyor.yml (#76) + ## 1.5.2 / 2017-02-03 ### Development Fixes diff --git a/README.md b/README.md index 548d0a4..443cb04 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ Let Jekyll build your Sass and SCSS! [![Build Status](https://travis-ci.org/jekyll/jekyll-sass-converter.svg?branch=master)](https://travis-ci.org/jekyll/jekyll-sass-converter) +[![Windows Build status](https://img.shields.io/appveyor/ci/jekyll/jekyll-sass-converter/master.svg?label=Windows%20build)](https://ci.appveyor.com/project/jekyll/jekyll-sass-converter/branch/master) ## Installation diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..62cde38 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,30 @@ +version: "{build}" + +clone_depth: 10 + +branches: + only: + - master + +build: off + +install: + - SET PATH=C:\Ruby%RUBY_FOLDER_VER%\bin;%PATH% + - bundle install --retry 5 --jobs=%NUMBER_OF_PROCESSORS% --clean --path vendor\bundle + +environment: + matrix: + - RUBY_FOLDER_VER: "25" + - RUBY_FOLDER_VER: "25-x64" + - RUBY_FOLDER_VER: "24" + - RUBY_FOLDER_VER: "23" + +test_script: + - ruby --version + - gem --version + - bundler --version + - bash ./script/cibuild + +cache: + # If one of the files after the right arrow changes, cache will be skipped + - 'vendor\bundle -> appveyor.yml,Gemfile,jekyll-sass-converter.gemspec' diff --git a/jekyll-sass-converter.gemspec b/jekyll-sass-converter.gemspec index 7f4f3fe..d74a0ed 100644 --- a/jekyll-sass-converter.gemspec +++ b/jekyll-sass-converter.gemspec @@ -24,5 +24,5 @@ Gem::Specification.new do |spec| spec.add_development_dependency "jekyll", "~> 3.0" spec.add_development_dependency "rake" spec.add_development_dependency "rspec" - spec.add_development_dependency "rubocop-jekyll", "~> 0.1" + spec.add_development_dependency "rubocop-jekyll", "~> 0.1.0" end