summaryrefslogtreecommitdiff
path: root/lib/bundler/templates/newgem/.gitlab-ci.yml.tt
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bundler/templates/newgem/.gitlab-ci.yml.tt')
-rw-r--r--lib/bundler/templates/newgem/.gitlab-ci.yml.tt9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/bundler/templates/newgem/.gitlab-ci.yml.tt b/lib/bundler/templates/newgem/.gitlab-ci.yml.tt
new file mode 100644
index 0000000000..6acdc1d10c
--- /dev/null
+++ b/lib/bundler/templates/newgem/.gitlab-ci.yml.tt
@@ -0,0 +1,9 @@
+image: ruby:<%= RUBY_VERSION %>
+
+before_script:
+ - gem install bundler
+ - bundle install -v <%= Bundler::VERSION %>
+
+test:
+ script:
+ - bundle exec rake test