Skip to content

Commit

Permalink
Add circleci config
Browse files Browse the repository at this point in the history
  • Loading branch information
Goltergaul committed Dec 14, 2021
1 parent 8ca35a3 commit 53c3078
Show file tree
Hide file tree
Showing 6 changed files with 199 additions and 21 deletions.
43 changes: 43 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Use the latest 2.1 version of CircleCI pipeline process engine.
# See: https://circleci.com/docs/2.0/configuration-reference
version: 2.1

# Orbs are reusable packages of CircleCI configuration that you may share across projects, enabling you to create encapsulated, parameterized commands, jobs, and executors that can be used across multiple projects.
# See: https://circleci.com/docs/2.0/orb-intro/
orbs:
ruby: circleci/[email protected]

# Define a job to be invoked later in a workflow.
# See: https://circleci.com/docs/2.0/configuration-reference/#jobs
jobs:
test:
parameters:
image:
type: string
docker:
- image: << parameters.image>>
steps:
- checkout
- ruby/install-deps
- ruby/rspec-test
checking:
docker:
- image: 'cimg/ruby:2.7'
steps:
- checkout
- ruby/install-deps
- ruby/rubocop-check:
format: progress
label: Inspecting with Rubocop

# Invoke jobs via workflows
# See: https://circleci.com/docs/2.0/configuration-reference/#workflows
workflows:
test: # This is the name of the workflow, feel free to change it to better match your workflow.
# Inside the workflow, you define the jobs you want to run.
jobs:
- test:
matrix:
parameters:
image: ["cimg/ruby:2.5", "cimg/ruby:2.6", "cimg/ruby:2.7", "circleci/jruby:9.3.1-jdk11", "circleci/jruby:9.2.20-jdk11"]
- checking
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/.bundle/
/.yardoc
/Gemfile.lock
/_yardoc/
/coverage/
/doc/
Expand Down
18 changes: 0 additions & 18 deletions .travis.yml

This file was deleted.

153 changes: 153 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,153 @@
PATH
remote: .
specs:
definition (0.6.0)
activesupport
i18n

GEM
remote: https://rubygems.org/
specs:
activesupport (6.1.4.1)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
tzinfo (~> 2.0)
zeitwerk (~> 2.3)
approvals (0.0.25)
nokogiri (~> 1.8)
thor (~> 1.0)
ast (2.4.2)
awesome_print (1.9.2)
benchmark-ips (2.9.2)
coderay (1.1.3)
concurrent-ruby (1.1.9)
diff-lcs (1.4.4)
ffi (1.15.4)
ffi (1.15.4-java)
formatador (0.3.0)
fuubar (2.5.1)
rspec-core (~> 3.0)
ruby-progressbar (~> 1.4)
guard (2.18.0)
formatador (>= 0.2.4)
listen (>= 2.7, < 4.0)
lumberjack (>= 1.0.12, < 2.0)
nenv (~> 0.1)
notiffany (~> 0.0)
pry (>= 0.13.0)
shellany (~> 0.0)
thor (>= 0.18.1)
guard-compat (1.2.1)
guard-rspec (4.7.3)
guard (~> 2.1)
guard-compat (~> 1.1)
rspec (>= 2.99.0, < 4.0)
i18n (1.8.11)
concurrent-ruby (~> 1.0)
jar-dependencies (0.4.1)
jaro_winkler (1.5.4)
jaro_winkler (1.5.4-java)
listen (3.7.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
lumberjack (1.2.8)
method_source (1.0.0)
mini_portile2 (2.6.1)
minitest (5.14.4)
nenv (0.3.0)
nokogiri (1.12.5)
mini_portile2 (~> 2.6.1)
racc (~> 1.4)
nokogiri (1.12.5-java)
racc (~> 1.4)
nokogiri (1.12.5-x86_64-linux)
racc (~> 1.4)
notiffany (0.1.3)
nenv (~> 0.1)
shellany (~> 0.0)
parallel (1.21.0)
parser (3.0.3.2)
ast (~> 2.4.1)
pry (0.14.1)
coderay (~> 1.1)
method_source (~> 1.0)
pry (0.14.1-java)
coderay (~> 1.1)
method_source (~> 1.0)
spoon (~> 0.0)
psych (4.0.2)
psych (4.0.2-java)
jar-dependencies (>= 0.1.7)
racc (1.6.0)
racc (1.6.0-java)
rainbow (3.0.0)
rake (10.5.0)
rb-fsevent (0.11.0)
rb-inotify (0.10.1)
ffi (~> 1.0)
rspec (3.10.0)
rspec-core (~> 3.10.0)
rspec-expectations (~> 3.10.0)
rspec-mocks (~> 3.10.0)
rspec-core (3.10.1)
rspec-support (~> 3.10.0)
rspec-expectations (3.10.1)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.10.0)
rspec-its (1.3.0)
rspec-core (>= 3.0.0)
rspec-expectations (>= 3.0.0)
rspec-mocks (3.10.2)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.10.0)
rspec-support (3.10.3)
rspec_junit_formatter (0.4.1)
rspec-core (>= 2, < 4, != 2.12.0)
rubocop (0.66.0)
jaro_winkler (~> 1.5.1)
parallel (~> 1.10)
parser (>= 2.5, != 2.5.1.1)
psych (>= 3.1.0)
rainbow (>= 2.2.2, < 4.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 1.4.0, < 1.6)
rubocop-rspec (1.32.0)
rubocop (>= 0.60.0)
rubocop_runner (2.2.0)
ruby-progressbar (1.11.0)
shellany (0.0.1)
spoon (0.0.6)
ffi
thor (1.1.0)
timecop (0.9.4)
tzinfo (2.0.4)
concurrent-ruby (~> 1.0)
unicode-display_width (1.5.0)
zeitwerk (2.5.1)

PLATFORMS
ruby
universal-java-11
x86_64-linux

DEPENDENCIES
approvals (~> 0.0)
awesome_print
benchmark-ips
definition!
fuubar
guard
guard-rspec
pry
rake (~> 10.0)
rspec (~> 3.0)
rspec-its (~> 1.2)
rspec_junit_formatter
rubocop (= 0.66.0)
rubocop-rspec (= 1.32.0)
rubocop_runner
timecop

BUNDLED WITH
2.2.33
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Definition

[![Build Status](https://travis-ci.org/Goltergaul/definition.svg?branch=master)][travis]
[![Build Status](https://circleci.com/gh/Goltergaul/definition.svg?style=svg)][circleci]
[![Gem Version](https://badge.fury.io/rb/definition.svg)][rubygems]

Simple and composable validation and coercion of data structures. It also includes a ValueObject for convenience.
Expand Down Expand Up @@ -423,5 +423,5 @@ To install this gem onto your local machine, run `bundle exec rake install`. To

Bug reports and pull requests are welcome on GitHub at https://github.com/Goltergaul/definition.

[travis]: https://travis-ci.org/Goltergaul/definition
[circleci]: https://circleci.com/gh/Goltergaul/definition
[rubygems]: https://rubygems.org/gems/definition
1 change: 1 addition & 0 deletions definition.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "rake", "~> 10.0"
spec.add_development_dependency "rspec", "~> 3.0"
spec.add_development_dependency "rspec-its", "~> 1.2"
spec.add_development_dependency "rspec_junit_formatter"
spec.add_development_dependency "rubocop", "0.66.0"
spec.add_development_dependency "rubocop-rspec", "1.32.0"
spec.add_development_dependency "rubocop_runner"
Expand Down

0 comments on commit 53c3078

Please sign in to comment.