Sha256: b8b6039612561c0ccfc6c2c1db906fcd1a663009e00282fec34ecf64bdf95f4d

Contents?: true

Size: 517 Bytes

Versions: 9

Compression:

Stored size: 517 Bytes

Contents

require "bundler/gem_tasks"


require 'rspec/core'
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)

require 'jettywrapper'
Jettywrapper.hydra_jetty_version = "v8.3.1"

desc 'Spin up hydra-jetty and run specs'
task ci: ['jetty:clean'] do
  puts 'running continuous integration'
  jetty_params = Jettywrapper.load_config
  jetty_params[:startup_wait]= 90
  error = Jettywrapper.wrap(jetty_params) do
    Rake::Task['spec'].invoke
  end
  raise "test failures: #{error}" if error
end


task default: :ci

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
activefedora-aggregation-0.8.1 Rakefile
activefedora-aggregation-0.8.0 Rakefile
activefedora-aggregation-0.7.0 Rakefile
activefedora-aggregation-0.6.0 Rakefile
activefedora-aggregation-0.5.0 Rakefile
activefedora-aggregation-0.4.2 Rakefile
activefedora-aggregation-0.4.1 Rakefile
activefedora-aggregation-0.4.0 Rakefile
activefedora-aggregation-0.3.0 Rakefile