Added RSpec tests to CI env.

This commit is contained in:
Thorsten Eckel 2016-11-25 18:01:41 +01:00
parent b2308546c0
commit 42c1957bff

View file

@ -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: