2018-02-25 20:37:08 -05:00
|
|
|
image: python:3.6
|
|
|
|
variables:
|
|
|
|
GIT_SUBMODULE_STRATEGY: normal
|
2018-06-03 19:21:23 -04:00
|
|
|
PIP_CACHE_DIR: $CI_PROJECT_DIR/.cache/pip
|
|
|
|
PIPENV_CACHE_DIR: $CI_PROJECT_DIR/.cache/pipenv
|
2018-02-25 20:37:08 -05:00
|
|
|
|
2018-02-25 20:58:34 -05:00
|
|
|
cache:
|
|
|
|
paths:
|
2018-06-03 19:21:23 -04:00
|
|
|
- $PIP_CACHE_DIR
|
|
|
|
- $PIPENV_CACHE_DIR
|
2018-02-25 20:58:34 -05:00
|
|
|
|
2018-02-25 20:51:14 -05:00
|
|
|
test:
|
2018-02-25 20:14:52 -05:00
|
|
|
script:
|
2018-02-25 20:37:08 -05:00
|
|
|
- pip install pipenv
|
2018-06-03 19:21:23 -04:00
|
|
|
- pipenv sync --dev
|
2018-02-25 20:14:52 -05:00
|
|
|
- pipenv run pytest
|