Sha256: 7d8a8f4c12324f1db0226e5c60498525ef0f75f2cb61a4736c5a4329d3d3932f

Contents?: true

Size: 540 Bytes

Versions: 2

Compression:

Stored size: 540 Bytes

Contents

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

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

task :default => ["test:create_repo", :spec]

namespace :test do
  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

task :travis do
  exec "bundle exec rake SPEC_OPTS='--format documentation -t ~run_docker --order=rand'"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
evrone-ci-worker-0.2.0.pre1 Rakefile
evrone-ci-worker-0.2.0.pre0 Rakefile