From d4586391ce4759cd36466c44ccb7ae271b9e7274 Mon Sep 17 00:00:00 2001 From: "sascha.herzinger" <sascha.herzinger@uni.lu> Date: Thu, 23 Nov 2017 15:51:55 +0100 Subject: [PATCH] trying to fix gitlab CI --- .gitlab-ci.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 183edd6..df1cc9e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,18 +6,15 @@ variables: stages: - test - - deploy + - publish - cleanup -before_script: - # add epel-repo to centos +script: - yum install -y epel-release - 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 @@ -28,8 +25,8 @@ tests: - python3 setup.py test - flake8 -pypi_package: - stage: deploy +release: + stage: publish script: - echo "[server-login]" > ~/.pypirc - echo "username=" ${PYPI_USER} >> ~/.pypirc -- GitLab