Skip to content

Commit

Permalink
Merge pull request #2 from Yesware/setup-travis-ci
Browse files Browse the repository at this point in the history
Configure travis-ci.org
  • Loading branch information
Justin Mills committed Oct 27, 2015
2 parents 770b0bb + 116305e commit da19572
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 2 deletions.
18 changes: 18 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
language: ruby

rvm:
- 1.9.3
- 2.0
- 2.1
- 2.2
- jruby-19mode

script:
- bundle exec rake ci

sudo: false

env:
global:
# To allow JRUBY to install c-extension gems
- "JRUBY_OPTS=-Xcext.enabled=true"
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

Provides standardized logging across Yesware apps.

[![Build Status](https://travis-ci.org/Yesware/yeti_logger.svg?branch=master)](https://travis-ci.org/Yesware/yeti_logger)

## Installation

Add this line to your application's Gemfile:
Expand Down
2 changes: 1 addition & 1 deletion lib/yeti_logger/message_formatters.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module YetiLogger::MessageFormatters
# @param klass [String] Name of the class you are logging on behalf
# @param obj [Object] Object to log, may be nil
# @param exception [Exception] Optional exception to include in the log message
# @return string [String] to log
# @return [String] to log
def self.build_log_message(klass, obj, exception = nil, backtrace_lines = NUM_LINES_OF_EXCEPTIONS)
msg = if obj.is_a?(Hash)
if exception
Expand Down
2 changes: 1 addition & 1 deletion yeti_logger.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "rake"
spec.add_development_dependency "rspec"
spec.add_development_dependency "yard"
spec.add_development_dependency "redcarpet"
spec.add_development_dependency "kramdown"
spec.add_development_dependency "simplecov"
end

0 comments on commit da19572

Please sign in to comment.