diff options
author | 2018-06-05 18:26:01 +0000 | |
---|---|---|
committer | 2018-06-05 18:26:01 +0000 | |
commit | 6808ab679f3c79f35d1b5fda184b79062c76f29c (patch) | |
tree | ffa20b4d7eb3ca925eb6213bc2128a76cb842a1c | |
parent | trying changing to root in travis before build runs (diff) |
Add .gitlab-ci.yml
-rw-r--r-- | .gitlab-ci.yml | 24 |
1 files changed, 24 insertions, 0 deletions
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 |