Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Appveyor testing #3115

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.markdown
@@ -1,7 +1,8 @@
# [Jekyll](http://jekyllrb.com/)

[![Gem Version](https://img.shields.io/gem/v/jekyll.svg)](https://rubygems.org/gems/jekyll)
[![Build Status](https://img.shields.io/travis/jekyll/jekyll/master.svg)](https://travis-ci.org/jekyll/jekyll)
[![Linux Build Status](https://img.shields.io/travis/jekyll/jekyll/master.svg?label=Linux%20build)](https://travis-ci.org/jekyll/jekyll)
[![Windows Build status](https://img.shields.io/appveyor/ci/jekyll/jekyll/master.svg?label=Windows%20build)](https://ci.appveyor.com/project/jekyll/jekyll/branch/master)
[![Code Climate](https://img.shields.io/codeclimate/github/jekyll/jekyll.svg)](https://codeclimate.com/github/jekyll/jekyll)
[![Dependency Status](https://img.shields.io/gemnasium/jekyll/jekyll.svg)](https://gemnasium.com/jekyll/jekyll)
[![Security](https://hakiri.io/github/jekyll/jekyll/master.svg)](https://hakiri.io/github/jekyll/jekyll/master)
Expand Down
38 changes: 38 additions & 0 deletions appveyor.yml
@@ -0,0 +1,38 @@
version: "{build}"

clone_depth: 10

build: off

install:
- SET PATH=C:\Ruby%ruby_folder_version%\bin;%PATH%

# - ps: Get-DnsClient | Where-Object {$_.InterfaceAlias -like '*ethernet*'} | Set-DnsClientServerAddress -ServerAddresses ("8.8.8.8","8.8.4.4") -PassThru | Get-DnsClientServerAddress
# - gem update --system 2.3.0 --quiet --no-ri --no-rdoc

- bundle install --retry 5

test_script:
- ruby --version
- gem --version
- bundler --version
- bash ./script/cibuild

environment:
matrix:
- ruby_folder_version: "200"
ruby_gems_folder: "2.0.0"
- ruby_folder_version: "21"
ruby_gems_folder: "2.1.0"
- ruby_folder_version: "22"
ruby_gems_folder: "2.2.0"
- ruby_folder_version: "22-x64"
ruby_gems_folder: "2.2.0"

matrix:
fast_finish: true

cache:
- '%USERPROFILE%\.gem -> Gemfile,jekyll.gemspec'
- C:\Ruby%ruby_folder_version%\bin -> Gemfile,jekyll.gemspec
- C:\Ruby%ruby_folder_version%\lib\ruby\gems\%ruby_gems_folder% -> Gemfile,jekyll.gemspec