zulip/tools/travis/backend

26 lines
698 B
Bash
Executable File

#!/bin/bash
source tools/travis/activate-venv
set -e
set -x
./tools/lint --backend
./manage.py makemessages --locale en
PYTHONWARNINGS=ignore ./tools/check-capitalization --no-generate
PYTHONWARNINGS=ignore ./tools/check-frontend-i18n --no-generate
./tools/test-tools
./tools/test-backend --coverage
./tools/test-migrations
./tools/optimize-svg
./tools/test-documentation
./tools/test-help-documentation.py
./tools/test-api
#./tools/test-run-dev # Disabled in CI because flaky.
#./tools/test-queue-worker-reload # Disabled in CI because flaky.
# NB: Everything here should be in `tools/test-all`. If there's a
# reason not to run it there, it should be there as a comment
# explaining why.