language: python
python:
  - "2.7"
env:
  global:
    - DB=postgres
  matrix:
    - DJANGO=1.6.2
install:
  - pip install -q coverage flake8 psycopg2 Django==$DJANGO
before_script:
  - flake8 . --max-line-length=120 --max-complexity=10 --exclude='env,migrations,*.egg,docs'
  - psql -c 'CREATE DATABASE localized_recurrence;' -U postgres
script:
  - coverage run --source='localized_recurrence' --branch setup.py test
  - coverage report --fail-under=100 --show-missing

language: python
python:
  - "2.7"
env:
  global:
    - DB=postgres
  matrix:
    - DJANGO=1.6.2
install:
  - pip install -q coverage flake8 psycopg2 Django==$DJANGO
before_script:
  - flake8 . --max-line-length=120 --max-complexity=10 --exclude='env,migrations,*.egg,docs'
  - psql -c 'CREATE DATABASE localized_recurrence;' -U postgres
script:
  - coverage run --source='localized_recurrence' --omit='localized_recurrence/migrations/*' --branch setup.py test
  - coverage report --fail-under=100 --show-missing

Test coverage percent should not include migrations
Test coverage percent should not include migrations
