language: ruby
rvm:
  - 1.9.3
#  - 2.1.1
#  - jruby-19mode
env: DISPLAY=:99.0
before_script:
  - mysql -e 'create database stizun_test;'
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"
before_install:
  - "sudo apt-get update"
  - "sudo apt-get install sphinxsearch firefox fluxbox"
bundler_args: --without development
# uncomment this line if your project needs to run something other than `rake`:
script: ./script/run_tests.sh

language: ruby
rvm:
  - 2.1.6
env: DISPLAY=:99.0
before_script:
  - mysql -e 'create database stizun_test;'
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"
before_install:
  - "sudo apt-get update"
  - "sudo apt-get install sphinxsearch firefox fluxbox"
bundler_args: --without development
# uncomment this line if your project needs to run something other than `rake`:
script: ./script/run_tests.sh

Correct Ruby version on Travis
Correct Ruby version on Travis
