language: python
python:
  - "2.6"
  - "2.7"
before_install:
  - sudo apt-get update
  - sudo apt-get install redis-server
  - sudo service start redis-server
install:
  - pip install -r requirements.txt --use-mirrors
  - pip install coverage python-coveralls --use-mirrors
script:
  - coverage erase
  - coverage run --source fakeredis.py test_fakeredis.py
notifications:
  email:
    - js@jamesls.com
after_success: coveralls

language: python
python:
  - "2.6"
  - "2.7"
before_install:
  - sudo apt-get update
  - sudo apt-get install redis-server
  - sudo /etc/init.d/redis-server start
install:
  - pip install -r requirements.txt --use-mirrors
  - pip install coverage python-coveralls --use-mirrors
script:
  - coverage erase
  - coverage run --source fakeredis.py test_fakeredis.py
notifications:
  email:
    - js@jamesls.com
after_success: coveralls

Use init.d script instead of service to start redis
Use init.d script instead of service to start redis
