Commit 058b07c3 authored by David Haynes's avatar David Haynes 🙆
Browse files

Merge branch '44-gitlab-ci' into 'upgrade-django'

Resolve "Configure gitlab-ci.yml to build on every commit"

See merge request !12
parents fb9de727 e7aa7c7b
Pipeline #1201 passed with stage
in 20 seconds
- test
- apt-get update -qy
- pip install -r requirements/test.txt
- cd whats_open/
- python makemigrations
- python makemigrations website
- python migrate
- echo "from django.contrib.auth import get_user_model; User = get_user_model(); User.objects.create_superuser('root', '', 'root') " | python shell
image: library/python:2.7
type: test
- python test
- coverage run --source=website --omit=*migrations/*,*,*,*.pyc test
- coverage html -i && grep pc_cov htmlcov/index.html | egrep -o "[0-9]+\%" | awk '{ print "covered " $1;}'
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