Skip to content

Commit

Permalink
Drop Rails compatiblity tests to favour different openssl configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
anakinj committed Oct 23, 2020
1 parent 98352ba commit 72b003a
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 67 deletions.
26 changes: 9 additions & 17 deletions .travis.yml
@@ -1,33 +1,25 @@
sudo: required
cache: bundler
dist: trusty
language: ruby
rvm:
- 2.3
- 2.4
- 2.5
- 2.6
- 2.7
- ruby-head
- truffleruby-head
gemfile:
- gemfiles/standalone.gemfile
- gemfiles/rails_5.0.gemfile
- gemfiles/rails_5.1.gemfile
- gemfiles/rails_5.2.gemfile
- gemfiles/rails_6.0.gemfile
script: "bundle exec rspec && bundle exec codeclimate-test-reporter"
- gemfiles/openssl_2.1.gemfile
script:
- bundle exec rspec
- bundle exec codeclimate-test-reporter
before_install:
- sudo add-apt-repository ppa:chris-lea/libsodium -y
- sudo apt-get update -q
- sudo apt-get install libsodium-dev -y
- gem install bundler

matrix:
fast_finish: true
exclude:
- gemfile: gemfiles/rails_6.0.gemfile
rvm: 2.3
- gemfile: gemfiles/rails_6.0.gemfile
rvm: 2.4
include:
- gemfile: gemfiles/standalone.gemfile
rvm: truffleruby-head
allow_failures:
- rvm: truffleruby-head
- rvm: ruby-head
18 changes: 0 additions & 18 deletions Appraisals

This file was deleted.

Empty file added gemfiles/openssl_2.1.gemfile
Empty file.
7 changes: 0 additions & 7 deletions gemfiles/rails_5.0.gemfile

This file was deleted.

7 changes: 0 additions & 7 deletions gemfiles/rails_5.1.gemfile

This file was deleted.

7 changes: 0 additions & 7 deletions gemfiles/rails_5.2.gemfile

This file was deleted.

7 changes: 0 additions & 7 deletions gemfiles/rails_6.0.gemfile

This file was deleted.

4 changes: 0 additions & 4 deletions ruby-jwt.gemspec
Expand Up @@ -20,15 +20,11 @@ Gem::Specification.new do |spec|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = %w[lib]

spec.add_development_dependency 'appraisal'
spec.add_development_dependency 'bundler'
spec.add_development_dependency 'rake'
spec.add_development_dependency 'rspec'
spec.add_development_dependency 'simplecov', '< 0.18'
spec.add_development_dependency 'simplecov-json'
spec.add_development_dependency 'codeclimate-test-reporter'
spec.add_development_dependency 'codacy-coverage'
spec.add_development_dependency 'rbnacl'
# RSASSA-PSS support provided by OpenSSL +2.1
spec.add_development_dependency 'openssl', '~> 2.1'
end

0 comments on commit 72b003a

Please sign in to comment.