machine:
  node:
    version: 7.4.0

test:
  override:
    - bundle exec rake

machine:
  services:
    - redis

  node:
    version: 7.4.0

  environment:
    PATH: "${PATH}:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin"

dependencies:
  override:
    - bundle check --path=vendor/bundle || bundle install --path=vendor/bundle --jobs=4 --retry=3
    - yarn
  cache_directories:
    - ~/.cache/yarn

test:
  override:
    - bundle exec rake

Add Yarn and Redis to CircleCI config
Add Yarn and Redis to CircleCI config

Yarn needs to be configured on CircleCI to run our tests.

Upgrading to latest Ubuntu (14.04) image does not start Redis
automatically.
