Skip to content

Commit

Permalink
Adding coveralls gem, updating gitignore to ignore repo token for cov…
Browse files Browse the repository at this point in the history
…eralls. Adding travis-ci integration
  • Loading branch information
Brett Bender committed Jan 20, 2015
1 parent 1fd8d5d commit 173cd69
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,6 @@ Gemfile.lock

# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
.rvmrc

# ignore coveralls repo token
.coveralls.yml
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ rvm:
- 2.0.0
- 2.1.0
- 2.2.0
after_success:
- coveralls
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ source 'https://rubygems.org'
# Specify your gem's dependencies in middleman-patterns.gemspec
gemspec

gem 'middleman-core', :path => '../middleman/middleman-core'
group :development do
gem 'yard', '~> 0.8.7'
gem 'rubocop', '~> 0.28'
Expand All @@ -21,4 +20,5 @@ group :test do
gem 'cucumber', '~> 1.3.18'
gem 'aruba', '~> 0.6.2'
gem 'haml', '~> 4.0.6'
gem 'coveralls', '~> 0.7.3', require: false
end
3 changes: 3 additions & 0 deletions features/support/env.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
ENV["TEST"] = "true"
ENV["AUTOLOAD_SPROCKETS"] = "false"

require 'coveralls'
Coveralls.wear!

PROJECT_ROOT_PATH = File.dirname(File.dirname(File.dirname(__FILE__)))
require "middleman-core"
require "middleman-core/step_definitions"
Expand Down

0 comments on commit 173cd69

Please sign in to comment.