...
 
Commits (2)
image: python:latest
variables:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache"
cache:
paths:
- .cache/pip
- venv/
stages:
- "verify"
- "test"
before_script:
- python -V # Print out python version for debugging
......@@ -18,22 +10,22 @@ before_script:
- source venv/bin/activate
- pip install -r requirements/local.txt
.verify:
.test:
script:
- python manage.py migrate --settings=fiex.ci_settings
- python manage.py test --settings=fiex.ci_settings
verify-3.5:
extends: ".verify"
test-3.5:
extends: ".test"
stage: "verify"
image: "python:3.5"
verify-3.6:
extends: ".verify"
test-3.6:
extends: ".test"
stage: "verify"
image: "python:3.6"
verify-3.7:
extends: ".verify"
test-3.7:
extends: ".test"
stage: "verify"
image: "python:3.7"
\ No newline at end of file