Files
zulip/tools/travis/backend
Greg Price 103178ffb2 run-mypy: Move "which mypy" noise into --version, and use in Travis.
Printing the version in Travis builds will help in debugging when we
get different results there from locally.  The new `--version` path
also gives us a handy place to put the "what mypy command are we running"
diagnostic, getting it out of the way of normal interactive use.
2017-09-27 12:22:03 -07:00

29 lines
788 B
Bash
Executable File

#!/bin/bash
source tools/travis/activate-venv
echo "Test suite is running under $(python --version)."
set -e
set -x
./tools/lint --backend
./tools/test-tools
./tools/test-backend --coverage
# We run mypy after the backend tests so we get output from the
# backend tests, which tend to uncover more serious problems, first.
./tools/run-mypy --version
./tools/run-mypy --linecoverage-report
./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.