before_script:
  - gem install bundler
  - bundle install --jobs $(nproc) --path=/cache/bundler
  - bundle exec rake db:create

test:
  stage: test
  script:
    - rake test
  tags:
    - ruby
    - postgres
    - elasticsearch
    - redis