---
image: bradrydzewski/python:2.7

services:
  - mongodb:3.0.1

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 > /dev/null
  - python -m pip install --upgrade setuptools > /dev/null
  - pip install -r requirements.txt > /dev/null
  - pip install nose coverage flake8 mock funcsigs > /dev/null
  - flake8 .
  - cp anchor/config/config.example.py anchor/config/config.py
  - cp anchor/config/celery-example.py anchor/config/celery.py
  - nosetests -v --cover-erase --with-coverage --cover-package=anchor

notify:
  webhook:
    urls:
      - "http://tower.cloudapi.co:5000/deploy/$$app_name/$$app_port/$$repo_location"
    on_success: true

---
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 > /dev/null
  - python -m pip install --upgrade setuptools > /dev/null
  - pip install -r requirements.txt > /dev/null
  - pip install nose coverage flake8 mock funcsigs > /dev/null
  - flake8 .
  - cp anchor/config/config.example.py anchor/config/config.py
  - cp anchor/config/celery-example.py anchor/config/celery.py
  - nosetests -v --cover-erase --with-coverage --cover-package=anchor

notify:
  webhook:
    urls:
      - "http://tower.cloudapi.co:5000/deploy/$$app_name/$$app_port/$$repo_location"
    on_success: true

Change mongo version back as the version is not the issue causing the failed build
Change mongo version back as the version is not the issue causing the failed build
