language: ruby
rvm:
  - 2.3
  - 2.4
  - 2.5
  - jruby-9.1.16.0

bundler_args: --jobs 3 --retry 3

gemfile:
  - test/gemfiles/Gemfile-Rails-4-2
  - test/gemfiles/Gemfile-Rails-5-0
  - test/gemfiles/Gemfile-Rails-5-1
  - Gemfile

before_install:
  - rm "${BUNDLE_GEMFILE}.lock"

matrix:
  fast_finish: true

  allow_failures:
    - rvm: jruby-9.1.16.0

language: ruby
rvm:
  - 2.3
  - 2.4
  - 2.5
  - jruby-9.1.16.0

gemfile:
  - test/gemfiles/Gemfile-Rails-4-2
  - test/gemfiles/Gemfile-Rails-5-0
  - test/gemfiles/Gemfile-Rails-5-1
  - Gemfile

before_install:
  - rm "${BUNDLE_GEMFILE}.lock"

matrix:
  fast_finish: true

  allow_failures:
    - rvm: jruby-9.1.16.0

Revert "Remove deployment bundler arg"
Revert "Remove deployment bundler arg"

This reverts commit ea2e085f7b5b9d8f5fa9add33f7d6be402eee6e9.

I think the reason I needed this was that my initial patch was
incorrect.
