summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml4
-rw-r--r--Gemfile6
2 files changed, 8 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 23da645..ed06caf 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -16,6 +16,10 @@ script:
- bundle update
- bundle exec rake pedant
+env:
+ global:
+ - "GEMFILE_MOD=\"gem 'chef', '~> 13.0'\""
+
matrix:
include:
- rvm: 2.5.0
diff --git a/Gemfile b/Gemfile
index 0a11dea..1253282 100644
--- a/Gemfile
+++ b/Gemfile
@@ -11,9 +11,11 @@ group :development, :test do
gem "chefstyle", git: "https://github.com/chef/chefstyle.git", branch: "master"
end
-gem "chef", "~> 13"
-
if ENV["GEMFILE_MOD"]
puts "GEMFILE_MOD: #{ENV['GEMFILE_MOD']}"
instance_eval(ENV["GEMFILE_MOD"])
end
+
+# If you want to load debugging tools into the bundle exec sandbox,
+# add these additional dependencies into Gemfile.local
+eval_gemfile(__FILE__ + ".local") if File.exist?(__FILE__ + ".local")