weblate/ci/run-test
Michal Čihař 9d01fe0714 Run migrations first
We need existing tables to run check on Django 1.9.

Signed-off-by: Michal Čihař <michal@cihar.com>
2015-11-11 16:00:44 +01:00

20 lines
288 B
Bash
Executable file
Vendored

#!/bin/sh
# Testsuite executor
. ci/lib
export TEST_MIGRATIONS=1
run_coverage ./manage.py migrate --noinput --traceback
check
unset TEST_MIGRATIONS
run_coverage ./manage.py collectstatic --noinput
check
run_coverage ./manage.py check
check
run_coverage ./manage.py test -v 2
check