Rakefile in evrone-ci-worker-0.2.0.pre1 vs Rakefile in evrone-ci-worker-0.2.0.pre3
- old
+ new
@@ -4,21 +4,24 @@
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'"
+ exec "bundle exec rake SPEC_OPTS='--format documentation -t ~run_docker -t ~webdav --order=rand'"
end