Commit 67726f0a authored by Rajko Albrecht's avatar Rajko Albrecht

Update .gitlab-ci.yml

parent 884d3c23
Pipeline #10 failed with stage
in 21 seconds
......@@ -7,13 +7,16 @@ image: "ruby:2.4"
# Only needed when using a docker container to run your tests in.
# Check out: http://docs.gitlab.com/ce/ci/docker/using_docker_images.html#what-is-a-service
services:
- redis:latest
- "redis:latest"
# Cache gems in between builds
cache:
paths:
- vendor/ruby
stages:
- test
# This is a basic example for a gem or script which doesn't use
# services such as redis or postgres
before_script:
......@@ -21,11 +24,12 @@ before_script:
# Uncomment next line if your rails app needs a JS runtime:
# - apt-get update -q && apt-get install nodejs -yqq
- gem install bundler --no-ri --no-rdoc # Bundler is not installed with the image
- bundle install -j $(nproc) # --path vendor # Install dependencies into ./vendor/ruby
- bundle install -j $(nproc) --path vendor # Install dependencies into ./vendor/ruby
test:
script:
- bundle exec rake
stage: test
# This deploy job uses a simple deploy flow to Heroku, other providers, e.g. AWS Elastic Beanstalk
# are supported too: https://github.com/travis-ci/dpl
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment