weblate/ci/run-migrate
Michal Čihař 88fff20ea5 Fix migrate invocation
Signed-off-by: Michal Čihař <michal@cihar.com>
2018-02-19 20:45:37 +01:00

16 lines
303 B
Bash
Executable file
Vendored

#!/bin/sh
# Migrations test executor
. ci/lib
TAGS="weblate-2.16 weblate-2.17.1 weblate-2.18 weblate-2.19"
for tag in $TAGS ; do
rm weblate.db
git checkout $tag
run_coverage ./manage.py migrate
check
git checkout $TRAVIS_COMMIT
run_coverage ./manage.py migrate
check
done