diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2018-11-15 04:55:52 +0100 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2018-11-15 04:55:52 +0100 |
| commit | 76504b08d73bf6aaf35435e9345028ebc6fc89aa (patch) | |
| tree | c259215d1d39ff703b69285a80bdb8f9d3fe0018 | |
| parent | f174059fcb247e7e2bf4a235e0bd3db97fd29548 (diff) | |
remove shippable configuration [skip ci]
| -rw-r--r-- | Gemfile | 6 | ||||
| -rw-r--r-- | Rakefile | 22 |
2 files changed, 3 insertions, 25 deletions
@@ -25,10 +25,4 @@ end group :ci do gem 'simplecov', '~> 0.14.1' - if ENV['SHIPPABLE'] - gem 'simplecov-csv', '~> 0.1.3' - gem 'ci_reporter', '~> 2.0.0' - gem 'ci_reporter_minitest', '~> 1.0.0' - #gem 'ci_reporter_cucumber', '~> 1.0.0' - end end @@ -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 |
