summaryrefslogtreecommitdiff
path: root/Makefile.example
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2016-08-23 11:55:39 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2016-08-23 11:55:39 +0200
commitbfd0d7e3e576c700968c1eb8571f32649274b18e (patch)
tree823b43e3689dc2a66a28cc2c9271d5b17d039dd2 /Makefile.example
parent29e6b089568281bfa5a3dcff80f9fca8b42852af (diff)
parentd4f335cc6990eb86e011b5f58f01cf92a89ddd87 (diff)
downloadIshtar-bfd0d7e3e576c700968c1eb8571f32649274b18e.tar.bz2
Ishtar-bfd0d7e3e576c700968c1eb8571f32649274b18e.zip
Merge branch 'v0.9' into wheezy
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 .