zulip/tools/travis/backend

28 lines
816 B
Bash
Executable File

#!/bin/bash
# This script is very similar to tools/test-all (what one runs
# locally). Possibly they should be merged, though it's worth noting,
# they are intentionally different (basically some slow stuff is not
# worth running in `test-all`).
source tools/travis/activate-venv
set -e
set -x
./tools/lint --pep8 # Include the slow and thus non-default pep8 linter check
./tools/test-tools
./tools/test-backend --coverage
./tools/test-migrations
./tools/optimize-svg
./tools/test-documentation
./tools/test-help-documentation.py
./tools/test-api
# Some test suites disabled in CI for being flaky
#./tools/test-run-dev
#./tools/test-queue-worker-reload
python manage.py makemessages --locale en
python -W ignore tools/check-capitalization --no-generate
python -W ignore tools/check-frontend-i18n --no-generate