summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2016-06-13 22:32:48 +0200
committervarac <varacanero@zeromail.org>2016-06-13 22:32:48 +0200
commit0339bd5644592944a743b823f3e034ffc88422ea (patch)
treeee1ba18aa1b8df254ee15d52f5da1fc40ad01958
parent08b1237a09254382fb746162f146acb7ed109c0e (diff)
parent88b5e122579f95d907677c74297a683494bef541 (diff)
Merge branch 'gitlab-ci' into develop
-rw-r--r--.gitlab-ci.yml33
1 files changed, 33 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 00000000..e4720fc5
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,33 @@
+before_script:
+ - ruby -v
+ - bundle install --path vendor/bundle --jobs $(nproc) "${FLAGS[@]}"
+ - git submodule update --init
+
+stages:
+ - syntax
+ - rspec
+
+lint:
+ stage: syntax
+ script:
+ - bundle exec rake lint
+
+syntax:
+ stage: syntax
+ script:
+ - bundle exec rake syntax
+
+validate:
+ stage: syntax
+ script:
+ - bundle exec rake validate
+
+templates:
+ stage: syntax
+ script:
+ - bundle exec rake templates
+
+rspec:
+ stage: rspec
+ script:
+ - bundle exec rake spec