Update .gitlab-ci.yml

This commit is contained in:
Christoph Haas 2021-02-08 00:07:31 +00:00
parent bf82c2dfdb
commit 0024826039

View file

@ -14,9 +14,13 @@ build:
paths:
- vendor/
script:
- apt-get update -qy
- apt-get -o dir::cache::archives="vendor/apt" install -yqq imagemagick git build-essential zlib1g-dev libbz2-dev libpq-dev ruby
- rbenv install --skip-existing `cat .ruby-version`
- bundle install
- bundle exec rake db:migrate RAILS_ENV=test
- gem install bundler
- RAILS_ENV=test bundle install --path vendor
- cp config/database.yml.gitlab config/database.yml