Commit 7f72cc26 authored by Grzegorz Kostkowski's avatar Grzegorz Kostkowski

Add gitlab CI config

parent 64a66811
Pipeline #2595 failed with stage
in 21 seconds
image: clarinpl/python:3.6
before_script:
- pip install tox==2.9.1
cache:
paths:
- .tox
stages:
- check_style
- push_wheel
pep8:
stage: check_style
script:
- tox -v -e pep8
docstyle:
stage: check_style
script:
- tox -v -e docstyle
push_wheel:
before_script:
- pip install twine
only:
- master
stage: push_wheel
when: on_success
script:
- python setup.py sdist bdist_wheel
- python -m twine upload
--repository-url https://pypi.clarin-pl.eu/
-u $PIPY_USER -p $PIPY_PASS dist/cclutils*.whl
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment