Skip to content

Commit

Permalink
add travis/coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
wr0ngway committed Oct 12, 2014
1 parent 880d6a6 commit 1cc44bd
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 2 deletions.
1 change: 1 addition & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
service_name: travis-ci
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
language: ruby
cache: bundler
rvm:
- 2.1.3

script: bundle exec rspec
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@ source 'https://rubygems.org'

# Specify your gem's dependencies in tivohmo.gemspec
gemspec

# for code coverage during travis-ci test runs
gem 'coveralls', :require => false
4 changes: 2 additions & 2 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
RSpec.configure do |config|
end

# require 'coveralls'
# Coveralls.wear!
require 'coveralls'
Coveralls.wear!

require 'tivohmo/logging'
Logging.logger.root.level = :error
Expand Down
1 change: 1 addition & 0 deletions tivohmo.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "pry-byebug"
spec.add_development_dependency "awesome_print"
spec.add_development_dependency "rspec"
spec.add_development_dependency "rack-test"
spec.add_development_dependency "nokogiri"

# core dependencies
Expand Down

0 comments on commit 1cc44bd

Please sign in to comment.