Yet another try - use python:3.6, install submodules, use build and test stages, etc.

This commit is contained in:
Danielle McLean 2018-02-26 12:37:08 +11:00
parent ea0ef22b16
commit 1759be4d8c
Signed by: 00dani
GPG Key ID: 5A5D2D1AFF12EEC5
1 changed files with 12 additions and 2 deletions

View File

@ -1,5 +1,15 @@
image: vaultvulp/pipenv-alpine
test:
image: python:3.6
variables:
GIT_SUBMODULE_STRATEGY: normal
install:
stage: build
script:
- pip install pipenv
- pipenv install
- pipenv run ./manage.py collectstatic --no-input
pytest:
stage: test
script:
- pipenv run pytest