zulip/tools/travis/backend

27 lines
881 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
# test-run-dev temporarily disabled due to weird Travis CI issues.
#./tools/test-run-dev
./tools/optimize-svg
./tools/test-documentation
./tools/test-help-documentation.py
./tools/test-api
python manage.py makemessages --locale en
python -W ignore tools/check-capitalization --no-generate
python -W ignore tools/check-frontend-i18n --no-generate
# Some test suites disabled in CI for being flaky
#./tools/test-queue-worker-reload