From 6808ab679f3c79f35d1b5fda184b79062c76f29c Mon Sep 17 00:00:00 2001 From: Christopher Baklid Date: Tue, 5 Jun 2018 18:26:01 +0000 Subject: Add .gitlab-ci.yml --- .gitlab-ci.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..2a05b69 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,24 @@ +image: python:3.6-alpine3.7 + +variables: + DOCKER_DRIVER: overlay + +services: +- docker:dind + +stages: + - build + +variables: + PIPENV_VENV_IN_PROJECT=1 + PIPENV_IGNORE_VIRTUALENVS=1 + PIPENV_NOSPIN=1 + PIPENV_HIDE_EMOJIS=1 + + +build: + stage: build + script: + - pip install pipenv + - pipenv sync + - pipenv run lint -- cgit v1.2.3