summaryrefslogtreecommitdiff
path: root/puppet/modules/apt/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules/apt/.gitlab-ci.yml')
-rw-r--r--puppet/modules/apt/.gitlab-ci.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/puppet/modules/apt/.gitlab-ci.yml b/puppet/modules/apt/.gitlab-ci.yml
new file mode 100644
index 00000000..f7b8ecad
--- /dev/null
+++ b/puppet/modules/apt/.gitlab-ci.yml
@@ -0,0 +1,12 @@
+before_script:
+ - ruby -v
+ - gem install bundler --no-ri --no-rdoc
+ - bundle install --jobs $(nproc) "${FLAGS[@]}"
+
+# don't fail on lint warnings
+rspec:
+ script:
+ - bundle exec rake lint || /bin/true
+ - bundle exec rake syntax
+ - bundle exec rake validate
+ - bundle exec rake spec