Skip to content

Commit

Permalink
(maint) Add ci:spec task from facter/puppet/hiera
Browse files Browse the repository at this point in the history
  • Loading branch information
justinstoller committed Jan 27, 2015
1 parent e6c5428 commit ec578e8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ group :dev do
end

group :test do
gem 'yarjuf', "~> 1.0"
gem 'rdoc'
gem 'rspec', '~> 2.11.0'
gem 'mocha', '~> 0.10.0'
Expand Down
11 changes: 11 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,17 @@ task :test do
sh "cd spec && rake"
end

desc "Run spec tests"
task :test => :spec

namespace :ci do
desc "Run the specs with CI options"
task :spec do
ENV["LOG_SPEC_ORDER"] = "true"
sh %{rspec -r yarjuf -f JUnit -o result.xml -fp spec}
end
end

desc "Creates the website as a tarball"
task :website => :clean do
FileUtils.mkdir_p("build/marionette-collective.org/html")
Expand Down

0 comments on commit ec578e8

Please sign in to comment.