language: ruby
rvm:
  - 1.9.3
  - 2.0.0
before_install:
  - sudo apt-get update -qq
  - sudo apt-get install -qq beanstalkd
  - sudo sed -i 's/#START=yes/START=yes/' /etc/default/beanstalkd
  - sudo service beanstalkd start
script:
  - bundle exec rake test

language: ruby
rvm:
  - 1.9.3
  - 2.0.0
before_install:
  - curl -L https://github.com/kr/beanstalkd/archive/v1.9.tar.gz | tar xz -C /tmp
  - cd /tmp/beanstalkd-1.9/
  - make
  - ./beanstalkd &
script:
  - bundle exec rake test

Use beanstalkd v. 1.9 in Travis
Use beanstalkd v. 1.9 in Travis
