Files
zulip/tools/travis/backend
Tommy Ip c7e33c6c9f optimization: Use Python to test management commands.
The original test was written in shell script which launches a new
django instance for every tests. By doing it in Python, we avoid
the overhead and reduce the test time to <1 second.

Fixes #3620.
2017-02-11 13:48:16 -08:00

17 lines
407 B
Bash
Executable File

#!/bin/bash
source tools/travis/activate-venv
set -e
set -x
./tools/lint-all --pep8 # Include the slow and thus non-default pep8 linter check
./tools/test-backend --coverage --no-verbose-coverage
./tools/test-migrations
./tools/test-run-dev
./tools/test-documentation
./tools/test-help-documentation.py
./tools/test-api
# Some test suites disabled in CI for being flaky
#./tools/test-queue-worker-reload