Skip to content

Commit

Permalink
Merge 02ce0f4 into 1329ee2
Browse files Browse the repository at this point in the history
  • Loading branch information
hartmantis committed Oct 11, 2015
2 parents 1329ee2 + 02ce0f4 commit 691c97a
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 6 deletions.
7 changes: 7 additions & 0 deletions .kitchen.appveyor.yml
@@ -0,0 +1,7 @@
---
driver:
name: localhost
clean_up_on_destroy: false

platforms:
- name: windows
5 changes: 2 additions & 3 deletions .kitchen.travis.yml
@@ -1,8 +1,7 @@
---
driver:
name: digitalocean
name: localhost
clean_up_on_destroy: false

platforms:
- name: macosx
driver:
name: localhost
6 changes: 4 additions & 2 deletions .travis.yml
@@ -1,19 +1,21 @@
language: objective-c

branches:
only:
- master

install:
- curl -L https://www.chef.io/chef/install.sh | sudo bash -s -- -P chefdk
- chef exec bundle install --without=development integration

before_script:
# Pending ENV support in Kitchen's Rake tasks and not just the CLI
- cp .kitchen.travis.yml .kitchen.local.yml
- echo -e $DIGITALOCEAN_SSH_KEY_BODY > ~/.ssh/id_rsa

script:
- chef exec rake && chef exec kitchen test

after_script:
- chef exec kitchen destroy

env:
global:
Expand Down
4 changes: 3 additions & 1 deletion README.md
@@ -1,12 +1,14 @@
Box Sync Cookbook
=================
[![Cookbook Version](https://img.shields.io/cookbook/v/box-sync.svg)][cookbook]
[![Build Status](https://img.shields.io/travis/RoboticCheese/box-sync-chef.svg)][travis]
[![OS X Build Status](https://img.shields.io/travis/RoboticCheese/box-sync-chef.svg)][travis]
[![Windows Build Status](https://img.shields.io/appveyor/ci/RoboticCheese/box-sync-chef.svg)][appveyor]
[![Code Climate](https://img.shields.io/codeclimate/github/RoboticCheese/box-sync-chef.svg)][codeclimate]
[![Coverage Status](https://img.shields.io/coveralls/RoboticCheese/box-sync-chef.svg)][coveralls]

[cookbook]: https://supermarket.chef.io/cookbooks/box-sync
[travis]: https://travis-ci.org/RoboticCheese/box-sync-chef
[appveyor]: https://ci.appveyor.com/project/RoboticCheese/box-sync-chef
[codeclimate]: https://codeclimate.com/github/RoboticCheese/box-sync-chef
[coveralls]: https://coveralls.io/r/RoboticCheese/box-sync-chef

Expand Down
17 changes: 17 additions & 0 deletions appveyor.yml
@@ -0,0 +1,17 @@
branches:
only:
- master

cache:
- '%TEMP%\verifier\gems'

install:
- cinst chefdk
- SET PATH=C:\opscode\chefdk\bin;%PATH%

build_script:
- chef exec bundle install --without=development integration
- copy .kitchen.appveyor.yml .kitchen.local.yml

test_script:
- chef exec bundle exec kitchen test

0 comments on commit 691c97a

Please sign in to comment.