language: python
python:
    - "2.7"
# command to install dependencies
install:
    - pip install .
    - pip install pycodestyle
    - pip install coverage
    - pip install python-coveralls
before_script:
    - cp travis_ci/manage.py manage.py
    - python manage.py syncdb --noinput
    - python manage.py migrate
# command to run tests
script:
    - pycodestyle spotseeker_server/ --exclude=migrations
    - coverage run --source=spotseeker_server/ --omit=spotseeker_server/migrations/*,spotseeker_server/admin.py,spotseeker_server/management/commands/* manage.py test spotseeker_server
after_script:
    - coveralls

language: python
python:
    - "2.7"
# command to install dependencies
install:
    - pip install .
    - pip install pep8
    - pip install coverage
    - pip install python-coveralls
before_script:
    - cp travis_ci/manage.py manage.py
    - python manage.py syncdb --noinput
    - python manage.py migrate
# command to run tests
script:
    - pep8 spotseeker_server/ --exclude=migrations
    - coverage run --source=spotseeker_server/ --omit=spotseeker_server/migrations/*,spotseeker_server/admin.py,spotseeker_server/management/commands/* manage.py test spotseeker_server
after_script:
    - coveralls

Revert "Use pycodestyle over pep8." FOR NOW.
Revert "Use pycodestyle over pep8." FOR NOW.

This reverts commit be4206ae2befe8c2f47d9c8a4101cfcc428f475e.
