summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-11-23 14:57:41 +0100
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-11-23 14:57:41 +0100
commit93f32b25d23525138ec910f725ebd545ce7ef125 (patch)
tree498633f84e1a8590b13577c0e79fa36b76aef256
parent1324cc2f6ec3b9106391c478b1af402ea2e3b5c5 (diff)
downloadgitlab-ce-93f32b25d23525138ec910f725ebd545ce7ef125.tar.gz
Add bundler-audit to CI
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-rw-r--r--.gitlab-ci.yml8
-rw-r--r--Gemfile1
-rw-r--r--Gemfile.lock4
3 files changed, 13 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 94753093540..acba37039aa 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -87,3 +87,11 @@ flay:
tags:
- ruby
- mysql
+
+bundler:audit
+ script:
+ - bundle exec bundle-audit update
+ - bundle exec bundle-audit check
+ tags:
+ - ruby
+ - mysql
diff --git a/Gemfile b/Gemfile
index 8a19885bcb1..56f341aac30 100644
--- a/Gemfile
+++ b/Gemfile
@@ -261,6 +261,7 @@ group :development, :test do
gem 'simplecov', '~> 0.10.0', require: false
gem 'flog', require: false
gem 'flay', require: false
+ gem 'bundler-audit', require: false
gem 'benchmark-ips', require: false
end
diff --git a/Gemfile.lock b/Gemfile.lock
index 99cdc2a50ae..83d4e6927db 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -90,6 +90,9 @@ GEM
bullet (4.14.9)
activesupport (>= 3.0.0)
uniform_notifier (~> 1.9.0)
+ bundler-audit (0.4.0)
+ bundler (~> 1.2)
+ thor (~> 0.18)
byebug (6.0.2)
cal-heatmap-rails (0.0.1)
capybara (2.4.4)
@@ -802,6 +805,7 @@ DEPENDENCIES
brakeman (= 3.0.1)
browser (~> 1.0.0)
bullet
+ bundler-audit
byebug
cal-heatmap-rails (~> 0.0.1)
capybara (~> 2.4.0)