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

View file

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