Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redesign tests + 3.0 support #304

Merged
merged 2 commits into from
Feb 13, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
version: 2.1
orbs:
# See https://circleci.com/developer/orbs/orb/circleci/ruby
ruby: circleci/ruby@1.1.2
jobs: # keyword
test: # my name for the job
parameters: # keyword
ruby-version: # my parameter name
type: string # type is a keyword
docker: # keyword
- image: cimg/base:stable
steps: # keyword
- checkout # magic name
- ruby/install: # ruby/ is from the orb name, install is a command in that orb
version: << parameters.ruby-version >> # magic nonsense for param subst (version param to the command)
- run:
command: "bin/setup"
- run:
command: "bin/ci"
workflows: # keyword
all-rubies: # my name for the workflow
jobs: # keyword
- test: # my name for the job
matrix: # keyword
parameters: # keyword
# All rubies being maintained per this page:
# https://www.ruby-lang.org/en/downloads/branches/
ruby-version: [ "2.5", "2.6", "2.7", "3.0" ]
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,9 @@ pkg
coverage
.bundle
tmp
cruddo.rdoc
gli.wiki
Gemfile.lock
*.gem
results.html
.rbx
.DS_Store
Session.vim
scaffold_test
1 change: 0 additions & 1 deletion .ruby-gemset

This file was deleted.

1 change: 0 additions & 1 deletion .ruby-version

This file was deleted.

11 changes: 0 additions & 11 deletions .travis.yml

This file was deleted.

6 changes: 0 additions & 6 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,5 @@ source 'https://rubygems.org'

gemspec

gem "rcov", ">= 0.9.8", :platforms => :mri_18
gem "simplecov", "~> 0.6.4", :platforms => :mri_19
gem "psych", :platforms => :mri_19

major,minor = RUBY_VERSION.split(/\./)
if major.to_i >=2 && minor.to_i >= 2
gem "test-unit"
end
Loading