summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml1
-rw-r--r--Gemfile4
2 files changed, 4 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index a4d00b79a7..976debaace 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -20,6 +20,7 @@ echo '--color\n-fp' > .rspec;
sudo sed -i -e 's/^Defaults\tsecure_path.*$//' /etc/sudoers;
sudo -E $(which bundle) exec rake spec;
bundle exec rake style;
+bundle exec bundle-audit check --update;
"
env:
diff --git a/Gemfile b/Gemfile
index 4809c65216..0c9a7314b6 100644
--- a/Gemfile
+++ b/Gemfile
@@ -28,10 +28,12 @@ group(:development, :test) do
# for testing new chefstyle rules
# gem 'chefstyle', github: 'chef/chefstyle'
- gem "chefstyle", github: "chef/chefstyle", branch: "master"
+ gem "chefstyle", git: "https://github.com/chef/chefstyle.git", branch: "master"
gem "ruby-shadow", platforms: :ruby unless RUBY_PLATFORM.downcase.match(/(aix|cygwin)/)
+ gem "bundler-audit", git: "https://github.com/rubysec/bundler-audit.git", ref: "4e32fca"
+
# For external tests
# gem 'chef-zero', github: 'chef/chef-zero'
# gem 'cheffish', github: 'chef/cheffish'