From 42c1957bff39563a1e5c9735ee1897b44c9effd5 Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Fri, 25 Nov 2016 18:01:41 +0100 Subject: [PATCH] Added RSpec tests to CI env. --- .gitlab-ci.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9cbd0e4ee..fdf637e0e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -40,6 +40,32 @@ pre:github: script: - script/build/sync_repo.sh git@github.com:zammad/zammad.git +test:rspec:mysql: + stage: test + tags: + - core + - mysql + script: + - export RAILS_ENV=test + - rake db:create + - rake db:migrate + - rake db:seed + - rspec + - rake db:drop + +test:rspec:postgresql: + stage: test + tags: + - core + - postgresql + script: + - export RAILS_ENV=test + - rake db:create + - rake db:migrate + - rake db:seed + - rspec + - rake db:drop + test:unit:mysql: stage: test tags: