Skip to content
This repository has been archived by the owner on Aug 21, 2019. It is now read-only.

Commit

Permalink
Merge 37900e3 into 842ad36
Browse files Browse the repository at this point in the history
  • Loading branch information
viclim authored Feb 28, 2018
2 parents 842ad36 + 37900e3 commit b88c826
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
version: 2
jobs:
build:
docker:
- image: circleci/ruby:2.3.5
- image: docker.elastic.co/elasticsearch/elasticsearch:5.6.5
environment:
xpack.security.enabled: false
working_directory: ~/app
steps:
- checkout
- restore_cache:
key: bundle-{{ checksum "Gemfile.lock" }}
- run: bundle install --path vendor/bundle
- save_cache:
key: bundle-{{ checksum "Gemfile.lock" }}
paths:
- ~/app/vendor/bundle
- run:
name: Waiting for Elasticsearch
command: dockerize --wait http://localhost:9200 -timeout 1m
- run: bundle exec rspec spec

0 comments on commit b88c826

Please sign in to comment.