Moved database steps to second step
This commit is contained in:
parent
26aa896b15
commit
32b27276cf
1 changed files with 2 additions and 2 deletions
|
|
@ -22,8 +22,6 @@ build:
|
||||||
- apt-get install -y imagemagick git build-essential zlib1g-dev libbz2-dev libpq-dev postgresql
|
- apt-get install -y imagemagick git build-essential zlib1g-dev libbz2-dev libpq-dev postgresql
|
||||||
#- gem install bundler --no-ri --no-rdoc
|
#- gem install bundler --no-ri --no-rdoc
|
||||||
- RAILS_ENV=test bundle install --path vendor
|
- RAILS_ENV=test bundle install --path vendor
|
||||||
- cp config/database.yml.gitlab config/database.yml
|
|
||||||
- RAILS_ENV=test bundle exec rake db:create db:schema:load
|
|
||||||
|
|
||||||
test:
|
test:
|
||||||
stage: test
|
stage: test
|
||||||
|
|
@ -42,4 +40,6 @@ test:
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- bundle exec rake test
|
- bundle exec rake test
|
||||||
|
- cp config/database.yml.gitlab config/database.yml
|
||||||
|
- RAILS_ENV=test bundle exec rake db:create db:schema:load
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue