language: ruby
rvm:
  - 1.8.7
  - 1.9.2
  - 1.9.3
  - 2.0.0
  - 2.1.1
  - ree
  - rbx
env: RBXOPT=-Xgc.honor_start=true
bundler_args: --without benchmarks
script:
  - bundle exec rake spec
# Temporary workaround for broken Rubygems on Travis
before_install:
  - gem update --system 2.1.11
  - gem --version
matrix:
  allow_failures:
    - rvm: rbx

language: ruby
bundler_args: --without benchmarks
script:
  - bundle exec rake spec
# Temporary workaround for broken Rubygems on Travis
before_install:
  - gem update --system 2.1.11
  - gem --version
  - |
    bash -c " # Install MariaDB if DB=mariadb
    if [[ x$DB =~ xmariadb ]]; then
      sudo service mysql stop
      sudo apt-get purge '^mysql*' 'libmysql*'
      sudo apt-get install python-software-properties
      sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db
      if [[ x$DB = xmariadb55 ]]; then
        sudo add-apt-repository 'deb http://ftp.osuosl.org/pub/mariadb/repo/5.5/ubuntu precise main'
      elif [[ x$DB = xmariadb10 ]]; then
        sudo add-apt-repository 'deb http://ftp.osuosl.org/pub/mariadb/repo/10.0/ubuntu precise main'
      fi
      sudo apt-get update
      sudo apt-get -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold -y install mariadb-server libmariadbd-dev
    fi
    "
  - mysqld --version
rvm:
  - 1.8.7
  - 1.9.2
  - 1.9.3
  - 2.0.0
  - 2.1.1
  - ree
matrix:
  allow_failures:
    - rvm: rbx
  include:
    - rvm: 2.0.0
      env: DB=mariadb55
    - rvm: 2.0.0
      env: DB=mariadb10
    - rvm: rbx
      env: RBXOPT=-Xgc.honor_start=true

Add Ruby 2.0 + MariaDB 5.5 / 10.0 to the Travis matrix
Add Ruby 2.0 + MariaDB 5.5 / 10.0 to the Travis matrix
