summaryrefslogtreecommitdiff
path: root/Makefile.example
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.example')
-rw-r--r--Makefile.example11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile.example b/Makefile.example
index 32bf03f9a..4febeea65 100644
--- a/Makefile.example
+++ b/Makefile.example
@@ -47,6 +47,17 @@ update: clean syncdb compilemessages collectstatic
test: clean
cd $(project); $(PYTHON) manage.py test $(apps)
+test_gitlab: clean
+ # test migrations
+ cd $(project); $(PYTHON) ./manage.py syncdb --noinput
+ # only necessary on master
+ cd $(project); $(PYTHON) ./manage.py migrate ishtar_common
+ cd $(project); $(PYTHON) ./manage.py migrate archaeological_files 0013
+ cd $(project); $(PYTHON) ./manage.py migrate archaeological_operations 0040
+ cd $(project); $(PYTHON) ./manage.py migrate archaeological_files
+ cd $(project); $(PYTHON) ./manage.py migrate
+ cd $(project); $(PYTHON) manage.py test $(apps)
+
pep8:
pep8 --filename=*.py --ignore=W --exclude="manage.py,settings.py,migrations" --statistics --repeat .