language: python
python:
  - 2.7
install:
  - pip install -r requirements.txt
  - pip install coveralls
  - sudo apt-get install pokerth-server libprotobuf7
  - wget https://launchpad.net/~pkg-games/+archive/ppa/+files/pokerth-server_1.0.1-2~ppa1~precise1_amd64.deb
  - sudo dpkg --install pokerth-server_1.0.1-2~ppa1~precise1_amd64.deb
  - pokerth_server; sleep 2; killall pokerth_server
  - sed -i.bak s/BruteForceProtection value="1"/BruteForceProtection value="0"/g ~/.pokerth/config.xml
before_script:
  - sudo ln -s /usr/games/pokerth_server /usr/local/bin/pokerth_server
script:
  - python setup.py test
after_success:
  - coveralls


language: python
python:
  - 2.7
install:
  - pip install -r requirements.txt
  - pip install coveralls
  - sudo apt-get install pokerth-server libprotobuf7
  - wget https://launchpad.net/~pkg-games/+archive/ppa/+files/pokerth-server_1.0.1-2~ppa1~precise1_amd64.deb
  - sudo dpkg --install pokerth-server_1.0.1-2~ppa1~precise1_amd64.deb
before_script:
  - sudo ln -s /usr/games/pokerth_server /usr/local/bin/pokerth_server
  - pokerth_server; sleep 2; killall pokerth_server
  - sed -i.bak s/"BruteForceProtection value=\"1\""/"BruteForceProtection value=\"0\""/g ~/.pokerth/config.xml
script:
  - python setup.py test
after_success:
  - coveralls

Fix sed expression for Travis
Fix sed expression for Travis
