Turns out stages are isolated from each other, so we need to do the build and the test in one script

This commit is contained in:
Danielle McLean 2018-02-26 12:51:14 +11:00
parent 247bce0996
commit 6ceb800723
Signed by: 00dani
GPG key ID: 5A5D2D1AFF12EEC5

View file

@ -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