diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-03-21 15:08:55 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-03-21 15:08:55 +0100 |
commit | 285612c904c5aecf08260bb87245494aad636c91 (patch) | |
tree | f21af06ea04c7ee91fd22a57c3bdf53e5a76ad55 /Makefile.example | |
parent | 6098e62346b830cc1921661325b891b4f2c02557 (diff) | |
download | Ishtar-285612c904c5aecf08260bb87245494aad636c91.tar.bz2 Ishtar-285612c904c5aecf08260bb87245494aad636c91.zip |
CI: split in differents stages
Diffstat (limited to 'Makefile.example')
-rw-r--r-- | Makefile.example | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/Makefile.example b/Makefile.example index f3ec3f7fd..ac8e54cc5 100644 --- a/Makefile.example +++ b/Makefile.example @@ -52,15 +52,11 @@ coverage: clean archaeological_context_records,archaeological_files,archaeological_finds,archaeological_warehouse,\ archaeological_files_pdl" ./manage.py test $(apps) && coverage report -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 +build_gitlab: + cd $(project); $(PYTHON) ./manage.py syncdb --noinput 2> /dev/null > /dev/null cd $(project); $(PYTHON) ./manage.py migrate + +test_gitlab: clean cd $(project); $(PYTHON) manage.py test $(apps) pep8: |