mirror of
https://github.com/sinatra/sinatra
synced 2023-03-27 23:18:01 -04:00
Make CI Reporter optional
This commit is contained in:
parent
4f013c2ea1
commit
e187ec85ee
2 changed files with 8 additions and 3 deletions
2
Gemfile
2
Gemfile
|
@ -11,7 +11,7 @@ source :rubygems unless ENV['QUICK']
|
|||
|
||||
gem 'rake'
|
||||
gem 'rack-test', '>= 0.5.6'
|
||||
gem 'ci_reporter'
|
||||
gem 'ci_reporter', :group => :ci
|
||||
|
||||
# Allows stuff like `tilt=1.2.2 bundle install` or `tilt=master ...`.
|
||||
# Used by the CI.
|
||||
|
|
5
Rakefile
5
Rakefile
|
@ -2,7 +2,12 @@ require 'rake/clean'
|
|||
require 'rake/testtask'
|
||||
require 'fileutils'
|
||||
require 'date'
|
||||
|
||||
# CI Reporter is only needed for the CI
|
||||
begin
|
||||
require 'ci/reporter/rake/test_unit'
|
||||
rescue LoadError
|
||||
end
|
||||
|
||||
task :default => :test
|
||||
task :spec => :test
|
||||
|
|
Loading…
Reference in a new issue