rvm:
  - 1.9.2
  - 1.9.3
  - 2.0.0
  - 2.1.0

gemfile:
  - gemfiles/sqlite3_ar_30.gemfile
  - gemfiles/sqlite3_ar_31.gemfile
  - gemfiles/sqlite3_ar_32.gemfile
  - gemfiles/sqlite3_ar_40.gemfile
  - gemfiles/mysql_ar_30.gemfile
  - gemfiles/mysql_ar_31.gemfile
  - gemfiles/mysql_ar_32.gemfile
  - gemfiles/mysql_ar_40.gemfile
  - gemfiles/pg_ar_30.gemfile
  - gemfiles/pg_ar_31.gemfile
  - gemfiles/pg_ar_32.gemfile
  - gemfiles/pg_ar_40.gemfile

matrix:
  exclude:
    - rvm: 1.9.2
      gemfile: gemfiles/sqlite3_ar_40.gemfile
    - rvm: 1.9.2
      gemfile: gemfiles/mysql_ar_40.gemfile
    - rvm: 1.9.2
      gemfile: gemfiles/pg_ar_40.gemfile

services:
  - mysql
  - postgresql
  - sqlite3

before_script:
  - mysql -e 'create database ancestry_test;'
  - psql -c 'create database ancestry_test;' -U postgres
sudo: false

rvm:
  - 1.9.2
  - 1.9.3
  - 2.0.0
  - 2.1.0

gemfile:
  - gemfiles/sqlite3_ar_30.gemfile
  - gemfiles/sqlite3_ar_31.gemfile
  - gemfiles/sqlite3_ar_32.gemfile
  - gemfiles/sqlite3_ar_40.gemfile
  - gemfiles/mysql_ar_30.gemfile
  - gemfiles/mysql_ar_31.gemfile
  - gemfiles/mysql_ar_32.gemfile
  - gemfiles/mysql_ar_40.gemfile
  - gemfiles/pg_ar_30.gemfile
  - gemfiles/pg_ar_31.gemfile
  - gemfiles/pg_ar_32.gemfile
  - gemfiles/pg_ar_40.gemfile

matrix:
  exclude:
    - rvm: 1.9.2
      gemfile: gemfiles/sqlite3_ar_40.gemfile
    - rvm: 1.9.2
      gemfile: gemfiles/mysql_ar_40.gemfile
    - rvm: 1.9.2
      gemfile: gemfiles/pg_ar_40.gemfile

addons:
  apt:
    packages:
      - mysql
      - postgresql
      - sqlite3

before_script:
  - mysql -e 'create database ancestry_test;'
  - psql -c 'create database ancestry_test;' -U postgres

Switch to container-based infrastructure on TravisCI
Switch to container-based infrastructure on TravisCI
