Sha256: 3bc21f1b6c67a637046c6122c6a8ac491d9110adcc7a408c7192773bd7003de7
Contents?: true
Size: 540 Bytes
Versions: 102
Compression:
Stored size: 540 Bytes
Contents
namespace "hydra-access" do desc "Run Continuous Integration" task "ci" do require 'jettywrapper' jetty_params = Jettywrapper.load_config.merge( {:jetty_home => File.expand_path(File.dirname(__FILE__) + '/../../jetty'), :startup_wait => 15, :jetty_port => ENV['TEST_JETTY_PORT'] || 8983 } ) Rake::Task['jetty:config'].invoke error = nil error = Jettywrapper.wrap(jetty_params) do Rake::Task['spec'].invoke end raise "test failures: #{error}" if error end end
Version data entries
102 entries across 102 versions & 1 rubygems