Skip to content
Snippets Groups Projects
Commit f569c9af authored by Sascha Herzinger's avatar Sascha Herzinger
Browse files

automated pypi upload

parent 68043693
No related branches found
No related tags found
No related merge requests found
Pipeline #
image: centos:latest image: centos:latest
before_script: variables:
# add epel-repo to centos PYPI_USER: SECURE
- yum install -y epel-release PYPI_PASSWORD: SECURE
- yum update -y
# install dependencies stage:
- yum install -y rabbitmq-server redis python34 python34-pip python34-devel readline-devel R test
- pip3 install -e . -i https://pypi.lcsb.uni.lu/simple deploy
- R -e 'source("https://bioconductor.org/biocLite.R"); biocLite(); biocLite("limma")'
# start services tests:
- redis-server --daemonize yes stage: test
- rabbitmq-server -detached before_script:
- celery worker -A fractalis:celery -D -l info # add epel-repo to centos
- yum install -y epel-release
test: - yum update -y
# install dependencies
- yum install -y rabbitmq-server redis python34 python34-pip python34-devel readline-devel R
- pip3 install -e . -i https://pypi.lcsb.uni.lu/simple
- R -e 'source("https://bioconductor.org/biocLite.R"); biocLite(); biocLite("limma")'
# start services
- redis-server --daemonize yes
- rabbitmq-server -detached
- celery worker -A fractalis:celery -D -l info
script: script:
- python3 setup.py test - python3 setup.py test
- flake8 - flake8
pypi_package:
stage: deploy
before_script:
- echo "[server-login]" > ~/.pypirc
- echo "username=" ${PYPI_USER} >> ~/.pypirc
- echo "password=" ${PYPI_PASSWORD} >> ~/.pypirc
- python setup.py check sdist upload
only:
tags
except:
branches
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment