From 23de62fbc2c1e6181969dd31dfd5f92eaf8c8554 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Sat, 3 Mar 2018 21:27:49 +0100 Subject: [PATCH] Add GitLab CI 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..13456c3 --- /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: + - pypi + artifacts: + paths: + - dist/