From 88b5e122579f95d907677c74297a683494bef541 Mon Sep 17 00:00:00 2001 From: varac Date: Sun, 12 Jun 2016 21:38:42 +0200 Subject: add initial .gitlab-ci.yml --- .gitlab-ci.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .gitlab-ci.yml (limited to '.gitlab-ci.yml') 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 -- cgit v1.2.3