commit 306aa78eff53aa02ca8ad892eecd24b9d097a69f parent f6886a5a95e99a23b2f3fa2cc99fba2efb259623 Author: ng0 <ng0@n0.is> Date: Sat, 2 Dec 2017 12:49:04 +0000 Add CI files Diffstat:
| A | .ci/Dockerfile | | | 6 | ++++++ |
| A | .gitlab-ci.yml | | | 21 | +++++++++++++++++++++ |
2 files changed, 27 insertions(+), 0 deletions(-)
diff --git a/.ci/Dockerfile b/.ci/Dockerfile @@ -0,0 +1,6 @@ +from debian:stretch + +# Install build tools +RUN apt-get update && apt-get install -y git make automake autopoint autoconf python3 python3-pip python3-flake8 + +# TODO: python2.7 image diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml @@ -0,0 +1,21 @@ +variables: + +stages: + - container + - build + +build-container: + stage: container + image: docker:dind + only: + - master + script: + - docker build -f .ci/Dockerfile -t libextractor-python . + +build-libextractor-python: + stage: build + image: libextractor-python:latest + only: + - master + script: + - pip3 install --no-deps --verbose .