diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-08-17 20:40:25 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-08-17 20:40:25 +0200 |
commit | 0a59b2594a08882da78faafef9286e3479aa0028 (patch) | |
tree | c278b5371ceb7845bb71f800e3bc5a2f9e889a31 | |
parent | 81aa2880b000c6d0afe5caabdc795dc2f3808489 (diff) | |
download | Ishtar-0a59b2594a08882da78faafef9286e3479aa0028.tar.bz2 Ishtar-0a59b2594a08882da78faafef9286e3479aa0028.zip |
CI: fix migration order
-rw-r--r-- | Makefile.example | 8 |
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: |