Skip to content

Commit

Permalink
Setup AppVeyor builds
Browse files Browse the repository at this point in the history
  • Loading branch information
ashmaroli committed Oct 21, 2018
1 parent 7aab81a commit 2aa4079
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Expand Up @@ -2,7 +2,11 @@

Streamline your writing in Jekyll with some commands.

[![Build Status](https://travis-ci.org/jekyll/jekyll-compose.svg?branch=master)](https://travis-ci.org/jekyll/jekyll-compose)
[![Linux Build Status](https://img.shields.io/travis/jekyll/jekyll-compose/master.svg?label=Linux%20build)][travis]
[![Windows Build status](https://img.shields.io/appveyor/ci/jekyll/jekyll-compose/master.svg?label=Windows%20build)][appveyor]

[travis]: https://travis-ci.org/jekyll/jekyll-compose
[appveyor]: https://ci.appveyor.com/project/jekyll/jekyll-compose

## Installation

Expand Down
28 changes: 28 additions & 0 deletions appveyor.yml
@@ -0,0 +1,28 @@
version: "{build}"
clone_depth: 5
branches:
only:
- master

build: off

environment:
matrix:
- RUBY_FOLDER_VER: "25-x64"
- RUBY_FOLDER_VER: "25"
- RUBY_FOLDER_VER: "24"
- RUBY_FOLDER_VER: "23"

install:
- SET PATH=C:\Ruby%RUBY_FOLDER_VER%\bin;%PATH%
- bundle install --retry 5 --jobs=%NUMBER_OF_PROCESSORS% --clean --path vendor\bundle

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 invalidated
- 'vendor\bundle -> appveyor.yml,Gemfile,jekyll-compose.gemspec'

0 comments on commit 2aa4079

Please sign in to comment.