diff options
author | varac <varacanero@zeromail.org> | 2016-06-12 21:38:42 +0200 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2016-06-12 22:14:12 +0200 |
commit | 88b5e122579f95d907677c74297a683494bef541 (patch) | |
tree | f3da22425c8b213d1dd2e34cd9b6f0d0975287ea | |
parent | c0cbf928c057d299f533a2a8b61bb54cc6ba5974 (diff) |
add initial .gitlab-ci.yml
-rw-r--r-- | .gitlab-ci.yml | 33 |
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 |