Sha256: c968d9b8682f95197e22a3ffe4636c14420c18bb89ac5d32ec80d50d7df70903

Contents?: true

Size: 631 Bytes

Versions: 22

Compression:

Stored size: 631 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 ~run_docker --order=rand'"
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
evrone-ci-worker-0.2.0.pre27 Rakefile
evrone-ci-worker-0.2.0.pre26 Rakefile
evrone-ci-worker-0.2.0.pre25 Rakefile
evrone-ci-worker-0.2.0.pre24 Rakefile
evrone-ci-worker-0.2.0.pre23 Rakefile
evrone-ci-worker-0.2.0.pre22 Rakefile
evrone-ci-worker-0.2.0.pre21 Rakefile
evrone-ci-worker-0.2.0.pre20 Rakefile
evrone-ci-worker-0.2.0.pre19 Rakefile
evrone-ci-worker-0.2.0.pre18 Rakefile
evrone-ci-worker-0.2.0.pre17 Rakefile
evrone-ci-worker-0.2.0.pre15 Rakefile
evrone-ci-worker-0.2.0.pre14 Rakefile
evrone-ci-worker-0.2.0.pre13 Rakefile
evrone-ci-worker-0.2.0.pre12 Rakefile
evrone-ci-worker-0.2.0.pre11 Rakefile
evrone-ci-worker-0.2.0.pre10 Rakefile
evrone-ci-worker-0.2.0.pre9 Rakefile
evrone-ci-worker-0.2.0.pre8 Rakefile
evrone-ci-worker-0.2.0.pre7 Rakefile