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 | 9bc70425c2385efe265cf90d04090cab43959328 (patch) | |
tree | c278b5371ceb7845bb71f800e3bc5a2f9e889a31 | |
parent | 24407e79928d518b235433c2427d89c127cbc1c2 (diff) | |
download | Ishtar-9bc70425c2385efe265cf90d04090cab43959328.tar.bz2 Ishtar-9bc70425c2385efe265cf90d04090cab43959328.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: |