Thorfile in berkshelf-1.4.6 vs Thorfile in berkshelf-2.0.0.beta
- old
+ new
@@ -44,10 +44,12 @@
end
desc "ci", "Run all possible tests on Travis-CI"
def ci
ENV['CI'] = 'true' # Travis-CI also sets this, but set it here for local testing
- all
+ unless run_unit("--tag ~chef_server") && run_acceptance("--tags ~@chef_server") && run_quality
+ exit 1
+ end
end
desc "unit", "Run unit tests"
def unit
unless run_unit