before_script:
  - "sh -e /etc/init.d/xvfb start"
  - "cp config/database.yml.mysql config/database.yml"
script: "DISPLAY=:99.0 bundle exec rake db:create db:migrate db:test:clone spec cucumber"
notifications:
  email:
    - josh@isotope11.com
rvm:
  #- 1.8.7 # We don't support 1.8.7 for xrono, there are 1.9 style hashes everywhere
  - 1.9.2
  #- 1.9.3 # There's a bug in 1.9.3 when compiling gherkin seemingly, so ignoring it
  #- jruby

before_script:
  - "sh -e /etc/init.d/xvfb start"
  - "cp config/database.yml.mysql config/database.yml"
  - "bundle exec rake db:create db:migrate db:test:clone"
script: "DISPLAY=:99.0 bundle exec rake spec cucumber"
notifications:
  email:
    - josh@isotope11.com
rvm:
  #- 1.8.7 # We don't support 1.8.7 for xrono, there are 1.9 style hashes everywhere
  - 1.9.2
  #- 1.9.3 # There's a bug in 1.9.3 when compiling gherkin seemingly, so ignoring it
  #- jruby

Move DB setup to a before_script as it's not related to running the specs.
Move DB setup to a before_script as it's not related to running the specs.
