forked from 00dani/lemoncurry
Yet another try - use python:3.6, install submodules, use build and test stages, etc.
This commit is contained in:
parent
ea0ef22b16
commit
1759be4d8c
1 changed files with 12 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue