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 install
  - 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 &
  - cd $TRAVIS_BUILD_DIR
script:
  - bundle install
  - bundle exec rake test

Switch back to Travis build dir to run tests
Switch back to Travis build dir to run tests
