Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
fractalis
Manage
Activity
Members
Labels
Plan
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Fractalis
fractalis
Commits
f569c9af
There was a problem fetching the pipeline metadata.
Commit
f569c9af
authored
7 years ago
by
Sascha Herzinger
Browse files
Options
Downloads
Patches
Plain Diff
automated pypi upload
parent
68043693
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+32
-14
32 additions, 14 deletions
.gitlab-ci.yml
with
32 additions
and
14 deletions
.gitlab-ci.yml
+
32
−
14
View file @
f569c9af
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment