2018-02-25 20:37:08 -05:00
|
|
|
image: python:3.6
|
|
|
|
variables:
|
|
|
|
GIT_SUBMODULE_STRATEGY: normal
|
|
|
|
|
|
|
|
install:
|
|
|
|
stage: build
|
2018-02-25 20:14:52 -05:00
|
|
|
script:
|
2018-02-25 20:37:08 -05:00
|
|
|
- pip install pipenv
|
2018-02-25 20:24:22 -05:00
|
|
|
- pipenv install
|
2018-02-25 20:37:08 -05:00
|
|
|
- pipenv run ./manage.py collectstatic --no-input
|
|
|
|
|
|
|
|
pytest:
|
|
|
|
stage: test
|
|
|
|
script:
|
2018-02-25 20:14:52 -05:00
|
|
|
- pipenv run pytest
|