Sha256: 192cddc794734153366d0cb8f490c018d551b92d5fab75b24fa724e2c6462092

Contents?: true

Size: 627 Bytes

Versions: 5

Compression:

Stored size: 627 Bytes

Contents

require 'rubygems'
require 'bundler'
Bundler.require
require 'rspec/core/rake_task'
require "bundler/gem_tasks"

RSpec::Core::RakeTask.new(:spec)

desc "download test repo and run spec"
task :default => ["test:create_repo", :spec]

namespace :test do
  desc "download test repo"
  task :create_repo do
    dir = "fixtures/repo"
    unless File.directory? dir
      cmd = "git clone https://github.com/evrone/ci-worker-test-repo.git fixtures/repo"
      puts cmd
      system cmd
    end
  end
end

desc "run travis build"
task :travis do
  exec "bundle exec rake SPEC_OPTS='--format documentation -t ~docker --order=rand'"
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
vx-worker-0.2.0.pre31 Rakefile
vx-worker-0.2.0.pre30 Rakefile
vx-worker-0.2.0.pre29 Rakefile
vx-worker-0.2.0.pre28 Rakefile
evrone-ci-worker-0.2.0.pre28 Rakefile