Sha256: 7f1c2c8853e8f30fcbe62cd97ac3f98f03c2281746bc7eaa4c4e9238054d508d
Contents?: true
Size: 750 Bytes
Versions: 15
Compression:
Stored size: 750 Bytes
Contents
#!/usr/bin/env rake require "bundler/gem_tasks" begin require 'ci/reporter/rake/rspec' require 'ci/reporter/rake/cucumber' require 'cucumber' require 'cucumber/rake/task' require 'rspec/core/rake_task' RSpec::Core::RakeTask.new :spec Cucumber::Rake::Task.new :features task :jenkins => ['ci:setup:rspec', :spec] do File.write('build_number', ENV['BUILD_NUMBER']) if ENV['BUILD_NUMBER'] require 'fileutils' FileUtils.rm_rf 'features/reports' Cucumber::Rake::Task.new do |t| t.cucumber_opts = "--tags ~@real-api --format pretty --format junit --out features/reports" end.runner.run end task default: [:spec, :features] rescue LoadError $stderr.puts $! $stderr.puts "This error will be ignored" end
Version data entries
15 entries across 15 versions & 1 rubygems