diff options
-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 |