From 63401a479f0af26dfb9f5c8b049ed57c30674c91 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Thu, 1 Jun 2017 13:03:23 +0200 Subject: [PATCH] Add GitLab config --- .gitlab-ci.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..e344eb2 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,18 @@ +pypi: + script: + - cp /keys/.pypirc ~/.pypirc + - virtualenv env + - source env/bin/activate + - XDG_CACHE_HOME=/cache pip3 install -U pip wheel setuptools + - XDG_CACHE_HOME=/cache pip3 install -U pretix + - python setup.py sdist develop + - python setup.py sdist clean + - python setup.py sdist upload + - python setup.py bdist_wheel upload + tags: + - python3 + only: + - release + artifacts: + paths: + - src/dist/