language: ruby
rvm:
  - 1.9.3
  - 2.0.0

before_script:
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"
  - "bundle exec rake db:migrate > /dev/null 2>&1"
  - "RAILS_ENV=test bundle exec rake db:migrate > /dev/null 2>&1"

language: ruby
rvm:
  - 1.9.3
  - 2.0.0

before_script:
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"
  - "bundle exec rake db:migrate > /dev/null 2>&1"
  - "RAILS_ENV=test bundle exec rake db:migrate > /dev/null 2>&1"

before_install:
  - "gem install bundler"

Upgrade bundler before install on Travis
Upgrade bundler before install on Travis
