sudo: false
cache: bundler
language: ruby
dist: trusty
rvm:
  - jruby-9.1.15.0
  - jruby-head
  - 2.1.10
  - 2.2.9
  - 2.3.6
  - 2.4.3
  - ruby-head
env:
  global:
    - JRUBY_OPTS='--debug -J-Xmx1000M' # get more accurate coverage data in JRuby
  matrix:
    - 'TASK=spec'
    - 'TASK=ascii_spec'
    - 'TASK=internal_investigation'
matrix:
  allow_failures:
    - rvm: ruby-head
    - rvm: jruby-head
  fast_finish: true
before_install:
  - gem update --system 2.6.14
  - gem update --remote bundler
install:
  - bundle install --retry=3
script:
  - ruby .travis.rb
addons:
  code_climate:
    repo_token: a11b66bfbb1acdf220d5cb317b2e945a986fd85adebe29a76d411ad6d74ec31f

sudo: false
cache: bundler
language: ruby
dist: trusty
rvm:
  - jruby-9.1.15.0
  - jruby-head
  - 2.1.10
  - 2.2.9
  - 2.3.6
  - 2.4.3
  - ruby-head
env:
  global:
    - JRUBY_OPTS='--debug -J-Xmx1000M' # get more accurate coverage data in JRuby
  matrix:
    - 'TASK=spec'
    - 'TASK=ascii_spec'
    - 'TASK=internal_investigation'
matrix:
  allow_failures:
    - rvm: ruby-head
    - rvm: jruby-head
  fast_finish: true
before_install:
  - gem update --system
  - gem update --remote bundler
install:
  - bundle install --retry=3
script:
  - ruby .travis.rb
addons:
  code_climate:
    repo_token: a11b66bfbb1acdf220d5cb317b2e945a986fd85adebe29a76d411ad6d74ec31f

Revert `Workaround for broke Travis with RubyGems 2.7`
Revert `Workaround for broke Travis with RubyGems 2.7`

rubygems/rubygems#2123 has been resolved and fixed version
RubyGems 2.7.4 released.
Version specification to `gem update --system` is no longer necessary.

Related rails/rails#31558.
