summaryrefslogtreecommitdiff
path: root/Makefile.example
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.example')
-rw-r--r--Makefile.example8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile.example b/Makefile.example
index 759c5f833..a6a4d523d 100644
--- a/Makefile.example
+++ b/Makefile.example
@@ -47,7 +47,13 @@ update: clean syncdb compilemessages collectstatic
test: clean
cd $(project); $(PYTHON) manage.py test $(apps)
-test_gitlab: syncdb
+test_gitlab: clean
+ # test migrations
+ cd $(project); $(PYTHON) ./manage.py syncdb --noinput 2> /dev/null > /dev/null
+ # only necessary on master
+ cd $(project); $(PYTHON) ./manage.py migrate ishtar_common 2> /dev/null > /dev/null
+ cd $(project); $(PYTHON) ./manage.py migrate archaeological_operations 2> /dev/null > /dev/null
+ cd $(project); $(PYTHON) ./manage.py migrate 2> /dev/null > /dev/null
cd $(project); $(PYTHON) manage.py test $(apps)
pep8: