---
image: bradrydzewski/python:2.7

services:
  - mongodb:2.6

script:
  - sudo apt-get update > /dev/null
  - "sudo DEBIAN_FRONTEND='noninteractive' apt-get install -y libsasl2-dev libssl-dev rsyslog > /dev/null"
  - sudo /usr/sbin/rsyslogd
  - pip install -r requirements.txt
  - pip install nose coverage flake8 mock funcsigs
  - flake8 .
  - cp pitchfork/config/config.example.py pitchfork/config/config.py
  - rm tests/test_selenium.py
  - nosetests -v --cover-erase --with-coverage --cover-package=pitchfork

---
image: bradrydzewski/python:2.7

services:
  - mongodb:2.6

script:
  - sudo apt-get update > /dev/null
  - "sudo DEBIAN_FRONTEND='noninteractive' apt-get install -y libsasl2-dev libssl-dev rsyslog > /dev/null"
  - sudo /usr/sbin/rsyslogd
  - python -m pip install --upgrade setuptools > /dev/null
  - pip install -r requirements.txt > /dev/null
  - pip install nose coverage flake8 mock funcsigs
  - flake8 .
  - cp pitchfork/config/config.example.py pitchfork/config/config.py
  - rm tests/test_selenium.py
  - nosetests -v --cover-erase --with-coverage --cover-package=pitchfork

Upgrade setuptools first for mock package
Upgrade setuptools first for mock package
