language: ruby
rvm:
  - 1.9.3
# TODO: make this work with the regular rake command
script: "bundle exec rake spec"
gemfile:
  - Gemfile
before_script:
  - mysql -e 'create database database_cleaner_test;'
  - psql -c 'create database database_cleaner_test;' -U postgres
  - cp db/sample.config.yml db/config.yml
services:
  - mongodb

language: ruby
rvm:
  - 1.9.3
  - 2.0.0
# TODO: make this work with the regular rake command
script: "bundle exec rake spec"
gemfile:
  - Gemfile
before_script:
  - mysql -e 'create database database_cleaner_test;'
  - psql -c 'create database database_cleaner_test;' -U postgres
  - cp db/sample.config.yml db/config.yml
services:
  - mongodb
matrix:
  allow_failures:
    - rvm: 2.0.0

Add Ruby2.0.0 build in Travis-ci, and allowed to fail
Add Ruby2.0.0 build in Travis-ci, and allowed to fail

http://about.travis-ci.org/docs/user/build-configuration/#Rows-That-are-Allowed-To-Fail
