Commit dee936c1 authored by Sascha Herzinger's avatar Sascha Herzinger
Browse files

moving some dev dependencies to a requirements.txt and trying to fix gitlab ci

parent d4586391
......@@ -5,25 +5,31 @@ variables:
PYPI_PASSWORD: SECURE
stages:
- setup
- test
- publish
- cleanup
script:
- yum install -y epel-release
- yum update -y
- 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")'
- redis-server --daemonize yes
- rabbitmq-server -detached
- celery worker -A fractalis:celery -D -l info
install_deps:
stage: setup
script:
- yum install -y epel-release
- yum update -y
- yum install -y rabbitmq-server redis python34 python34-pip python34-devel readline-devel R
- pip3 install -e . -i https://pypi.lcsb.uni.lu/simple
- pip3 install -r requirements.txt -i https://pypi.lcsb.uni.lu/simple
- R -e 'source("https://bioconductor.org/biocLite.R"); biocLite(); biocLite("limma")'
tests:
stage: test
script:
- redis-server --daemonize yes
- rabbitmq-server -detached
- celery worker -A fractalis:celery -D -l info
- python3 setup.py test
- flake8
dependencies:
- install_deps
release:
stage: publish
......@@ -36,6 +42,8 @@ release:
- tags
except:
- branches
dependencies:
- install_deps
rm_secrets:
stage: cleanup
......
......@@ -30,15 +30,6 @@ setup(
'requests==2.18.4',
'PyYAML==3.12',
'pycryptodomex==3.4.7',
'rpy2==2.9.0',
'flake8==3.4.1'
],
setup_requires=[
'pytest-runner==2.12.1',
],
tests_require=[
'pytest==3.0.3',
'pytest-mock==1.6.3',
'responses==0.8.1'
'rpy2==2.9.0'
]
)
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