From 285612c904c5aecf08260bb87245494aad636c91 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 21 Mar 2017 15:08:55 +0100 Subject: CI: split in differents stages --- Makefile.example | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'Makefile.example') 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: -- cgit v1.2.3