language: ruby
services:
  - mysql
rvm:
  - 1.9.3-p392
script:
  - bundle exec rake db:migrate test
bundler_args: --without=development
before_install:
  - mysql -u root -e "CREATE USER 'release'@'localhost' IDENTIFIED BY 'release'"
  - mysql -u root -e 'CREATE DATABASE release_test'
  - mysql -u root -e "GRANT ALL ON release_test.* TO 'release'@'localhost'"
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"
branches:
  except:
    - release
notifications:
  email: false

language: ruby
services:
  - mysql
rvm:
  - 1.9.3
script:
  - bundle exec rake db:migrate test
bundler_args: --without=development
before_install:
  - mysql -u root -e "CREATE USER 'release'@'localhost' IDENTIFIED BY 'release'"
  - mysql -u root -e 'CREATE DATABASE release_test'
  - mysql -u root -e "GRANT ALL ON release_test.* TO 'release'@'localhost'"
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"
branches:
  except:
    - release
notifications:
  email: false

Set Travis to not use a Ruby patchlevel
Set Travis to not use a Ruby patchlevel

It's unsupported: https://github.com/travis-ci/travis-ci/issues/842 (ish)
