Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Jochem Bijlard
fractalis
Commits
390dc216
Commit
390dc216
authored
Nov 23, 2017
by
Sascha Herzinger
Browse files
trying to fix gitlab CI
parent
bc907f5a
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
390dc216
...
...
@@ -7,34 +7,41 @@ variables:
stage
:
-
test
-
deploy
-
cleanup
before_script
:
# 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 . -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
tests
:
stage
:
test
before_script
:
# 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 . -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
:
-
python3 setup.py test
-
flake8
pypi_package
:
stage
:
deploy
before_
script
:
-
echo "[server-login]" >
>
~/.pypirc
script
:
-
echo "[server-login]" > ~/.pypirc
-
echo "username=" ${PYPI_USER} >> ~/.pypirc
-
echo "password=" ${PYPI_PASSWORD} >> ~/.pypirc
script
:
-
python setup.py check sdist upload
-
python3 setup.py check sdist upload
only
:
tags
except
:
branches
rm_secrets
:
stage
:
cleanup
when
:
always
script
:
-
rm -f ~/.pypirc
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment