Commit f925fa04 authored by Michal Čihař's avatar Michal Čihař

Exclude South migrations from checking

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent dd834508
[run]
branch = True
omit =
*migrations*
*/migrations*
*/south_migrations*
*/settings_*.py
*/settings.py
*/wsgi.py
......
......@@ -37,7 +37,7 @@ script:
- ./manage.py syncdb --noinput --settings weblate.settings_test
- ./manage.py migrate --settings weblate.settings_test --traceback
- coverage run --source=. ./manage.py test --settings weblate.settings_test $TRAVIS_RUN_TESTS
- pep8 --exclude migrations weblate
- pep8 --exclude south_migrations,migrations weblate
- pylint --reports=n --rcfile=pylint.rc weblate
after_script:
- coveralls
......
......@@ -5,7 +5,7 @@ profile=no
# Add files or directories to the blacklist. They should be base names, not
# paths.
ignore=migrations,settings.py,settings_test.py,settings_test_mysql.py,settings_test_postgresql.py,settings_test_sqlite.py,.git,test-repos,repos,settings_test_nose.py
ignore=migrations,south_migrations,settings.py,settings_test.py,settings_test_mysql.py,settings_test_postgresql.py,settings_test_sqlite.py,.git,test-repos,repos,settings_test_nose.py
# Pickle collected data for later comparisons.
persistent=yes
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment