Skip to content

Commit

Permalink
Merge pull request #304 from davetron5000/redesign-tests
Browse files Browse the repository at this point in the history
Redesign tests + 3.0 support
  • Loading branch information
davetron5000 authored Feb 13, 2021
2 parents dd79e12 + cbbe8ca commit 352a3a0
Show file tree
Hide file tree
Showing 63 changed files with 1,210 additions and 3,618 deletions.
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

0 comments on commit 352a3a0

Please sign in to comment.