From 7a8268ddd32d09e4f0ec6527843ec28946cb7f41 Mon Sep 17 00:00:00 2001 From: Naomi Dushay Date: Wed, 9 Jul 2014 16:42:40 -0700 Subject: [PATCH] add files for travis and coveralls and badges in README --- .coveralls.yml | 1 + .travis.yml | 17 +++++++++++++++++ README.md | 4 +++- 3 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 .coveralls.yml create mode 100644 .travis.yml diff --git a/.coveralls.yml b/.coveralls.yml new file mode 100644 index 0000000..9160059 --- /dev/null +++ b/.coveralls.yml @@ -0,0 +1 @@ +service_name: travis-ci diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..c547db6 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,17 @@ +language: ruby +script: rake ci +rvm: + - 2.1.1 + - 2.0.0 + - 1.9.3 +# - ruby-head + - jruby-19mode # JRuby in 1.9 mode + - jruby-head +notifications: + email: + - ndushay@stanford.edu + - cbeer@stanford.edu + +env: + global: + - NOKOGIRI_USE_SYSTEM_LIBRARIES=true diff --git a/README.md b/README.md index 64b9f41..940e97e 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # Blacklight::Hierarchy +[![Build Status](https://travis-ci.org/sul-dlss/blacklight-hierarchy.svg?branch=master)](https://travis-ci.org/sul-dlss/blacklight-hierarchy) [![Coverage Status](https://coveralls.io/repos/sul-dlss/blacklight-hierarchy/badge.png)](https://coveralls.io/r/sul-dlss/blacklight-hierarchy) [![Dependency Status](https://gemnasium.com/sul-dlss/blacklight-hierarchy.svg)](https://gemnasium.com/sul-dlss/blacklight-hierarchy) [![Gem Version](https://badge.fury.io/rb/blacklight-hierarchy.svg)](http://badge.fury.io/rb/blacklight-hierarchy) This plugin provides hierarchical facets for [Blacklight](https://github.com/projectblacklight/blacklight). @@ -6,7 +7,8 @@ This plugin provides hierarchical facets for [Blacklight](https://github.com/pro Add the plugin to your Blacklight app's Gemfile - gem 'blacklight-hierarchy', :git => 'git@github.com:sul-dlss/blacklight-hierarchy.git' + gem 'blacklight-hierarchy' + #gem 'blacklight-hierarchy', :git => 'git@github.com:sul-dlss/blacklight-hierarchy.git' Index your hierarchies in colon-separated list. For example, items in a "processing" queue with a "copy" action, might be indexed as