Commit eb5d82b5 authored by Sergio Alonso's avatar Sergio Alonso

gitlab-ci: omit external server tests

parent e6f6f71b
......@@ -29,7 +29,7 @@ job_tests:
- python3 manage.py migrate --settings=educational_heritage.settings.local
- python3 manage.py loaddata Item --settings=educational_heritage.settings.local
- python3 manage.py runserver_plus --cert /tmp/cert --settings=educational_heritage.settings.local 0.0.0.0:8000 &
- coverage run manage.py test -k -v 2 --settings=educational_heritage.settings.local --exclude-tag=functional
- coverage run manage.py test -k -v 2 --settings=educational_heritage.settings.local --exclude-tag=external
- coverage report -m --skip-covered
only:
- master
......
......@@ -4,7 +4,7 @@
/usr/bin/python3.4 ./manage.py migrate --settings=educational_heritage.settings.local
/usr/bin/python3.4 ./manage.py loaddata Item --settings=educational_heritage.settings.local
/usr/bin/python3.4 ./manage.py runserver_plus --cert /tmp/cert --settings=educational_heritage.settings.local 0.0.0.0:8000 &
coverage run ./manage.py test -k -v 2 --settings=educational_heritage.settings.local --exclude-tag=functional
coverage run ./manage.py test -k -v 2 --settings=educational_heritage.settings.local --exclude-tag=external
[ $? -ne 0 ] && exit 1
coverage report -m --skip-covered
exit 0
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment