Added RSpec tests to CI env.
This commit is contained in:
parent
b2308546c0
commit
42c1957bff
1 changed files with 26 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue