diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..2d7b84e --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,28 @@ +version: 2.1 +orbs: + ruby: circleci/ruby@0.1.2 + +jobs: + build: + docker: + - image: circleci/ruby:2.6.3-stretch-node + executor: ruby/default + steps: + - checkout + - run: + name: Which bundler? + command: bundle -v + # bundler + - restore_cache: + keys: + - elbas-bundle-v1-{{ checksum "elbas.gemspec" }} + - run: + name: Bundle Install + command: bundle install && bundle clean + - save_cache: + key: elbas-bundle-v1-{{ checksum "elbas.gemspec" }} + paths: + - vendor/bundle + - run: + name: Run tests + command: bundle exec rspec --profile 10 --out tmp/rspec/rspec.xml --format progress diff --git a/README.md b/README.md index 8360418..e1b2cce 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,8 @@ # Capistrano ELBAS (Elastic Load Balancer & AutoScaling) [![Gem Version](https://badge.fury.io/rb/elbas.svg)](https://badge.fury.io/rb/elbas) +[![CircleCI](https://circleci.com/gh/lserman/capistrano-elbas.svg?style=svg)](https://circleci.com/gh/lserman/capistrano-elbas) + ELBAS was written to ease the deployment of Rails applications to AWS AutoScale groups. During your Capistrano deployment, ELBAS will: