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

brand new gitlab ci file to fix runner

parent 8b43142c
No related branches found
No related tags found
No related merge requests found
Pipeline #
image: python:latest
services:
- redis
- rabbitmq
image: centos:latest
before_script:
- apt-get install r-base r-bioc-limma
- pip install -e . --default-timeout=180
- pip install flake8
- export FRACTALIS_CONFIG="$(pwd)/gitlab-config.py"
# add epel-repo to centos
- 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 . --default-timeout=180
- 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
test:
script:
- python setup.py test
\ No newline at end of file
- python setup.py test
"""The only purpose of this file is to have a running CI test environment."""
REDIS_HOST = 'redis'
BROKER_URL = 'amqp://guest:guest@rabbitmq:5672//'
CELERY_RESULT_BACKEND = 'redis://redis:6379'
\ No newline at end of file
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