sudo: false
cache: bundler
language: ruby
rvm:
  - jruby-9.0.1.0
  - 2.0.0
  - 2.1.10
  - 2.2.7
  - 2.3.4
  - 2.4.1
  - ruby-head
  - rbx-3
env:
  global:
    - JRUBY_OPTS='--debug' # get more accurate coverage data in JRuby
  matrix:
    - 'TASK=spec'
    - 'TASK=ascii_spec'
    - 'TASK=internal_investigation'
matrix:
  allow_failures:
    - rvm: ruby-head
    - rvm: rbx-3
  fast_finish: true
before_install:
  - gem update --remote bundler
  - gem update --system
  - rvm @global do gem uninstall bundler -a -x
  - rvm @global do gem install bundler -v 1.13.7
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.0.1.0
  - 2.0.0
  - 2.1.10
  - 2.2.7
  - 2.3.4
  - 2.4.1
  - ruby-head
  - rbx-3
env:
  global:
    - JRUBY_OPTS='--debug' # get more accurate coverage data in JRuby
  matrix:
    - 'TASK=spec'
    - 'TASK=ascii_spec'
    - 'TASK=internal_investigation'
matrix:
  allow_failures:
    - rvm: ruby-head
    - rvm: rbx-3
  fast_finish: true
before_install:
  - gem update --remote bundler
  - gem update --system
  - rvm @global do gem uninstall bundler -a -x
  - rvm @global do gem install bundler -v 1.13.7
install:
  - bundle install --retry=3
script:
  - ruby .travis.rb
addons:
  code_climate:
    repo_token: a11b66bfbb1acdf220d5cb317b2e945a986fd85adebe29a76d411ad6d74ec31f

Switch to Trusty for the TravisCI builds
Switch to Trusty for the TravisCI builds

This should allow the installation of Rubinius and running the tests
on it (which has been broken for a while on the Precise images).
