Update .gitlab-ci.yml
This commit is contained in:
parent
bf82c2dfdb
commit
0024826039
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue