From 6ceb800723e995b03680405fe5de788c157e9a76 Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Mon, 26 Feb 2018 12:51:14 +1100 Subject: [PATCH] Turns out stages are isolated from each other, so we need to do the build and the test in one script --- .gitlab-ci.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4c3ba8d..e670ec4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,13 +2,8 @@ image: python:3.6 variables: GIT_SUBMODULE_STRATEGY: normal -install: - stage: build +test: script: - pip install pipenv - pipenv install - -pytest: - stage: test - script: - pipenv run pytest