Skip to content

Commit

Permalink
Add Yarn and Redis to CircleCI config
Browse files Browse the repository at this point in the history
Yarn needs to be configured on CircleCI to run our tests.

Upgrading to latest Ubuntu (14.04) image does not start Redis
automatically.
  • Loading branch information
Greg Lazarev committed Mar 23, 2017
1 parent 110a3a8 commit 33f33b6
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,20 @@
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

0 comments on commit 33f33b6

Please sign in to comment.