From 1759be4d8c642337f3fa487b9227dc8487995c93 Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Mon, 26 Feb 2018 12:37:08 +1100 Subject: [PATCH] Yet another try - use python:3.6, install submodules, use build and test stages, etc. --- .gitlab-ci.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 78d7d3f..006f846 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,15 @@ -image: vaultvulp/pipenv-alpine -test: +image: python:3.6 +variables: + GIT_SUBMODULE_STRATEGY: normal + +install: + stage: build script: + - pip install pipenv - pipenv install + - pipenv run ./manage.py collectstatic --no-input + +pytest: + stage: test + script: - pipenv run pytest