diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c0a7fb3..43e3386 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -22,8 +22,6 @@ build: - apt-get install -y imagemagick git build-essential zlib1g-dev libbz2-dev libpq-dev postgresql #- gem install bundler --no-ri --no-rdoc - 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: stage: test @@ -42,4 +40,6 @@ test: script: - bundle exec rake test + - cp config/database.yml.gitlab config/database.yml + - RAILS_ENV=test bundle exec rake db:create db:schema:load