From 9aa20b7e5a56097437d302b692dffbd85239d401 Mon Sep 17 00:00:00 2001 From: Sylvester Keil Date: Wed, 29 Jan 2014 12:55:50 +0100 Subject: [PATCH] fix coveralls setup --- .simplecov | 4 ++-- .travis.yml | 1 + Rakefile | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.simplecov b/.simplecov index 14e8216..207c1ba 100644 --- a/.simplecov +++ b/.simplecov @@ -1,4 +1,4 @@ SimpleCov.start do - filter 'test/' - filter 'features/' + add_filter 'test/' + add_filter 'features/' end diff --git a/.travis.yml b/.travis.yml index c5c10c2..2f23c91 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,6 @@ language: ruby bundler_args: --without debug profile extra +script: bundle exec rake test_with_coveralls rvm: - 2.1.0 - 2.0.0 diff --git a/Rakefile b/Rakefile index bb43f14..778b41b 100644 --- a/Rakefile +++ b/Rakefile @@ -40,7 +40,7 @@ end require 'coveralls/rake/task' Coveralls::RakeTask.new -task :test_with_coveralls => [:spec, :cucumber, 'coveralls:push'] +task :test_with_coveralls => [:test, :features, 'coveralls:push'] task :default => [:test, :features]