--- test: stage: test tags: stretch script: - apt-get update -qy - apt-get install -y ruby ruby-dev imagemagick git - gem install bundler - bundle install --path /cache - bundle exec rake db:create RAILS_ENV=test - bundle exec rake test