diff --git a/CHANGELOG.rdoc b/CHANGELOG.rdoc index 307946f..7e643eb 100644 --- a/CHANGELOG.rdoc +++ b/CHANGELOG.rdoc @@ -13,10 +13,13 @@ Prezento is the web interface for Mezuro. * Pluralize navigation menu links * Add missing translation for CompoundMetric * Make Compound Metric Config. metric list not include Hotspot metrics -* Fix 'Tree Metrics' and 'Hotspot Metrics' PT translations in Configuration show view +* Fix 'Tree Metrics' and 'Hotspot Metrics' PT translations in Configuration show view * Show the notify push url for the repository's owner (Gitlab only) * Support for hiding repositories * Fix home latest content caching effectiveness +* Update travis script +* Support for ruby 2.0.0-p598 (CentOS 7 default) and 2.1.5 (Debian 8 default) +* Make Travis fail if minimun unit test coverage is below 100% == v0.11.3 - 01/04/2016 diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb index aaf58c6..c7f4a35 100644 --- a/spec/rails_helper.rb +++ b/spec/rails_helper.rb @@ -3,17 +3,15 @@ require "codeclimate-test-reporter" CodeClimate::TestReporter.start require 'simplecov' -SimpleCov.start do +SimpleCov.start 'rails' do + # Minimum coverage is only desired on CI tools when building the environment. CI is a + # default environment variable used by Travis. For reference, see here: + # https://docs.travis-ci.com/user/environment-variables/#Default-Environment-Variables + minimum_coverage 100 if ENV["CI"] == 'true' coverage_dir 'coverage/rspec' - add_group "Models", "app/models" - add_group "Controllers", "app/controllers" - add_group "Helpers", "app/helpers" - add_group "Mailers", "app/mailers" - add_filter "/spec/" add_filter "/features/" - add_filter "/config/" end # This file is copied to spec/ when you run 'rails generate rspec:install' @@ -61,4 +59,4 @@ RSpec.configure do |config| # Devise helpers config.include Devise::TestHelpers, :type => :controller -end \ No newline at end of file +end -- libgit2 0.21.2