summaryrefslogtreecommitdiff
path: root/Makefile.example
diff options
context:
space:
mode:
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
commita6aa4a51de80cd60610c3f19460f64cd4e820e75 (patch)
treef21af06ea04c7ee91fd22a57c3bdf53e5a76ad55 /Makefile.example
parentb37fea20fd79ecc0f7174dda57720f61efb4989b (diff)
downloadIshtar-a6aa4a51de80cd60610c3f19460f64cd4e820e75.tar.bz2
Ishtar-a6aa4a51de80cd60610c3f19460f64cd4e820e75.zip
CI: split in differents stages
Diffstat (limited to 'Makefile.example')
-rw-r--r--Makefile.example12
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: