Skip to content

Commit 1cf9cfd

Browse files
committed
Make deprecation warnings error on Travis
Missed in django-import-export#1197, which changed only the tox configuration and not for Travis.
1 parent 6adeee3 commit 1cf9cfd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ install:
5959
- pip install -r requirements/test.txt
6060
- pip install coveralls
6161
script:
62-
- PYTHONPATH=".:tests:$PYTHONPATH" python -Wall -m coverage run --omit='setup.py' --source=. tests/manage.py test core --settings=
62+
- PYTHONPATH=".:tests:$PYTHONPATH" python -Wall -W error::DeprecationWarning -W error::PendingDeprecationWarning -m coverage run --omit='setup.py' --source=. tests/manage.py test core --settings=
6363
- if python -c 'import sys; sys.exit(1 - (sys.version_info >= (3, 6)))'; then isort --check-only import_export tests; fi
6464
after_success:
6565
- coveralls

0 commit comments

Comments
 (0)