2dbcf740df
This commit adds all of the config files needed for travisci
22 lines
401 B
Ruby
22 lines
401 B
Ruby
require 'rubygems'
|
|
require 'rake'
|
|
require 'rspec/core/rake_task'
|
|
|
|
task :default do
|
|
system("rake -T")
|
|
end
|
|
|
|
task :specs => [:spec]
|
|
|
|
desc "Run all rspec-puppet tests"
|
|
RSpec::Core::RakeTask.new(:spec) do |t|
|
|
t.rspec_opts = ['--color']
|
|
# ignores fixtures directory.
|
|
t.pattern = 'spec/{classes,defines,unit}/**/*_spec.rb'
|
|
end
|
|
|
|
desc "Build package"
|
|
task :build do
|
|
system("puppet-module build")
|
|
end
|