This commit is contained in:
Oliver Marks 2017-02-07 22:58:49 +00:00
parent 0292701721
commit 691bd1a9d9
1 changed files with 10 additions and 8 deletions

View File

@ -1,15 +1,17 @@
pipeline:
backend:
build: ./compose/django/Dockerfile-dev
image: maidstonehackspacewebsite_django
docker:
image: plugins/docker
repo: maidstonehackspace_tests
dockerfile: ./compose/django/Dockerfile-dev
#image: maidstonehackspacewebsite_django
environment:
- POSTGRES_USER=mhackspace
- USE_DOCKER=yes
- DJANGO_SETTINGS_MODULE=config.settings.test
commands:
- cp -n env.example .env
- pip install -r /requirements/test.txt
- python manage.py test mhackspace --verbosity 2
# commands:
# - cp -n env.example .env
# - pip install -r /requirements/test.txt
# - python manage.py test mhackspace --verbosity 2
#volumes:
@ -18,7 +20,7 @@ pipeline:
services:
postgres:
build: ./compose/postgres
dockerfile: ./compose/postgres
# build:
# context: .
# dockerfile: ./compose/django/Dockerfile