diff options
author | John Keiser <jkeiser@opscode.com> | 2014-05-27 14:42:51 -0700 |
---|---|---|
committer | John Keiser <jkeiser@opscode.com> | 2014-05-27 14:42:51 -0700 |
commit | 8632d76b1ee03ccdf258bb6b23a0dacc3e4ada46 (patch) | |
tree | d590712599a17dc08d575ff6cceb3f10b1e8ac19 /Rakefile | |
parent | 7c78d743d7867b59912da2edc30414744a4101f5 (diff) | |
download | chef-zero-8632d76b1ee03ccdf258bb6b23a0dacc3e4ada46.tar.gz |
Run chef specs against chef-zero in travis on each checkin
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -6,3 +6,13 @@ require 'chef_zero/version' task :spec do require File.expand_path('spec/run') end + +task :chef_spec do + gem_path = Bundler.environment.specs['chef'].first.full_gem_path + system("cd #{gem_path} && rspec spec/integration") +end + +task :berkshelf_spec do + gem_path = Bundler.environment.specs['berkshelf'].first.full_gem_path + system("cd #{gem_path} && thor spec:ci") +end |