summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2018-11-15 04:55:52 +0100
committerDan Allen <dan.j.allen@gmail.com>2018-11-15 04:55:52 +0100
commit76504b08d73bf6aaf35435e9345028ebc6fc89aa (patch)
treec259215d1d39ff703b69285a80bdb8f9d3fe0018 /Rakefile
parentf174059fcb247e7e2bf4a235e0bd3db97fd29548 (diff)
remove shippable configuration [skip ci]
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile22
1 files changed, 3 insertions, 19 deletions
diff --git a/Rakefile b/Rakefile
index d0834ade..961873ab 100644
--- a/Rakefile
+++ b/Rakefile
@@ -35,25 +35,9 @@ begin
rescue LoadError
end
-def ci_setup_tasks
- tasks = []
- begin
- require 'ci/reporter/rake/minitest'
- tasks << 'ci:setup:minitest'
- # FIXME reporter for Cucumber tests not activating
- #require 'ci/reporter/rake/cucumber'
- #tasks << 'ci:setup:cucumber'
- rescue LoadError
- end if ENV['SHIPPABLE'] && RUBY_VERSION >= '1.9.3'
- tasks
-end
-
-desc 'Activates coverage and JUnit-style XML reports for tests'
-task :coverage => ci_setup_tasks do
- # exclude coverage run for Ruby 1.8.7 or (disabled) if running on Travis CI
- ENV['COVERAGE'] = 'true' if RUBY_VERSION >= '1.9.3' # && (ENV['SHIPPABLE'] || !ENV['TRAVIS_BUILD_ID'])
- ENV['CI_REPORTS'] = 'shippable/testresults'
- ENV['COVERAGE_REPORTS'] = 'shippable/codecoverage'
+desc 'Activates coverage'
+task :coverage do
+ ENV['COVERAGE'] = 'true' if RUBY_VERSION >= '1.9.3'
end
namespace :test do