Update .gitlab-ci.yml

This commit is contained in:
Christoph Haas 2021-02-08 00:09:52 +00:00
parent 0024826039
commit 86f14812b7

View file

@ -17,7 +17,8 @@ build:
script: script:
- apt-get update -qy - 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 - apt-get -o dir::cache::archives="vendor/apt" install -yqq imagemagick git build-essential zlib1g-dev libbz2-dev libpq-dev ruby-dev
- curl -fsSL https://github.com/rbenv/rbenv-installer/raw/master/bin/rbenv-installer | bash
- rbenv install --skip-existing `cat .ruby-version` - rbenv install --skip-existing `cat .ruby-version`
- bundle install - bundle install
- bundle exec rake db:migrate RAILS_ENV=test - bundle exec rake db:migrate RAILS_ENV=test