-
Notifications
You must be signed in to change notification settings - Fork 0
/
.circle.yml
35 lines (31 loc) · 910 Bytes
/
.circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
machine:
ruby:
version:
2.3.1
test:
override:
- RAILS_ENV=test bundle exec rspec -r rspec_junit_formatter --format progress --format RspecJunitFormatter -o $CIRCLE_TEST_REPORTS/rspec/junit.xml
version: 2.1
jobs:
build:
parallelism: 3
docker
- image: circleci/ruby:2.6.3
version: 2.1
jobs:
test:
docker:
image: circleci/ruby:2.6.3
steps:
- checkout
- restore_cache:
keys:
- gem-cache-v1-{{ arch }}-{{ .Branch }}-{{ checksum "Gemfile.lock" }}
- run: bundle install --path vendor/bundle
- save_cache:
key: gem-cache-v1-{{ arch }}-{{ .Branch }}-{{ checksum "Gemfile.lock" }}
paths:
- vendor/bundle
- run:
name: RSpec
command: bundle exec rspec -r rspec_junit_formatter --format progress --format RspecJunitFormatter -o $CIRCLE_TEST_REPORTS/rspec/junit.xml