diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..a47b391 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,32 @@ +version: 2.1 + +executors: + default: + working_directory: ~/sdk + docker: + - image: cimg/ruby:2.7 + +jobs: + build: + executor: default + steps: + - checkout + - setup_remote_docker: + docker_layer_caching: true + - run: + name: Build and run Rubocop + command: | + gem install bundler + bundle install --jobs 4 --retry 3 + bundle exec rubocop --parallel + - run: + name: Build and run tests + command: | + gem install bundler + bundle install --jobs 4 --retry 3 + bundle exec rake tests + +workflows: + run: + jobs: + - build \ No newline at end of file