language: ruby
bundler_args: --path vendor/bundle
script: bundle exec rake
before_install:
  - gem install bundler
  - bundle config --local without local_development
rvm:
  - 1.8.7
  - 1.9.2
  - 1.9.3
  - 2.0.0
  - ruby-head
  - jruby
  - jruby-head
  - rbx-2
matrix:
  allow_failures:
    - rvm: ruby-head    # green, but unstable
    - rvm: jruby-head   # green, but unstable
    - rvm: rbx-2        # segfaulting in String#ascii_only?
  fast_finish: true

language: ruby
bundler_args: --path vendor/bundle
script: bundle exec rake
before_install:
  - gem install bundler
  - bundle config --local without local_development
gemfile:
  - gemfiles/mime_types_1.1.6.gemfile
  - gemfiles/mime_types_2.0.gemfile
  - gemfiles/mime_types_2.1.gemfile
  - gemfiles/mime_types_2.2.gemfile
  - gemfiles/mime_types_2.3.gemfile
  - gemfiles/mime_types_2.latest.gemfile
  - gemfiles/mime_types_edge.gemfile
rvm:
  - 1.8.7
  - 1.9.2
  - 1.9.3
  - 2.0.0
  - ruby-head
  - jruby
  - jruby-head
  - rbx-2
matrix:
  exclude:
    - rvm: 1.8.7
      gemfile: gemfiles/mime_types_2.0.gemfile
    - rvm: 1.8.7
      gemfile: gemfiles/mime_types_2.1.gemfile
    - rvm: 1.8.7
      gemfile: gemfiles/mime_types_2.2.gemfile
    - rvm: 1.8.7
      gemfile: gemfiles/mime_types_2.3.gemfile
    - rvm: 1.8.7
      gemfile: gemfiles/mime_types_2.latest.gemfile
    - rvm: 1.8.7
      gemfile: gemfiles/mime_types_edge.gemfile
  allow_failures:
    - rvm: ruby-head    # green, but unstable
    - rvm: jruby-head   # green, but unstable
    - rvm: rbx-2        # see https://github.com/rubinius/rubinius/issues/3050
  fast_finish: true

Configure TravisCI to run on all gemfiles
Configure TravisCI to run on all gemfiles

Exclude invalid ruby/mime-types combos from TravisCI
