travis: ignore migrations for coverage

This commit is contained in:
Élie Bouttier 2014-09-01 21:03:51 -07:00
parent f351f063a8
commit 921cc70e55

View file

@ -15,7 +15,7 @@ install:
- if [[ $DJANGO == '1.6' ]]; then pip install coveralls; fi
script:
- if [[ $DJANGO == '1.6' ]]; then coverage run --branch --source=accounts,permissions,tracker --omit=*/migrations/*.py manage.py test; fi
- if [[ $DJANGO == '1.6' ]]; then coverage run --branch --source=accounts,permissions,tracker --omit=accounts/migrations/*.py,permissions/migrations/*.py,tracker/migrations/*.py manage.py test; fi
- if [[ $DJANGO != '1.6' ]]; then python manage.py test; fi
after_success: