Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
N
navipy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Olivier Bertrand
navipy
Commits
e28255e8
Commit
e28255e8
authored
6 years ago
by
Olivier Bertrand
Browse files
Options
Downloads
Patches
Plain Diff
Revert "Change gitlab ci to a simpler one"
This reverts commit
74549176
.
parent
afb58f24
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+47
-1
47 additions, 1 deletion
.gitlab-ci.yml
with
47 additions
and
1 deletion
.gitlab-ci.yml
+
47
−
1
View file @
e28255e8
...
...
@@ -20,6 +20,10 @@ navipy_install:
-
source venv/bin/activate
-
python3 setup.py bdist_wheel
artifacts
:
paths
:
-
venv
flake8
:
stage
:
test
script
:
...
...
@@ -28,16 +32,58 @@ flake8:
navipy_unittest
:
stage
:
test
dependencies
:
-
navipy_install
script
:
-
source $CI_PROJECT_DIR/venv/bin/activate
-
python3 -m unittest discover navipy
coverage
:
stage
:
test
script
:
-
pip3 install --user nose
-
python3 -m nose -c .noserc -q --cover-html-dir=build --cover-html
-
coverage report -m
coverage
:
'
/TOTAL.+
([0-9]{1,3}%)/'
artifacts
:
paths
:
-
build
expire_in
:
1 day
doc_build
:
stage
:
doc_build
script
:
-
source $CI_PROJECT_DIR/venv/bin/activate
-
pip3 install --user sphinx sphinx_rtd_theme
-
cd doc ; make html
-
cd doc ; make html
artifacts
:
paths
:
-
build
pages
:
stage
:
deploy
before_script
:
-
'
which
ssh-agent
||
(
apt-get
update
-y
&&
apt-get
install
openssh-client
-y
)'
-
'
which
rsync
||
apt-get
install
rsync
-y'
-
mkdir -p ~/.ssh
-
eval $(ssh-agent -s)
-
'
[[
-f
/.dockerenv
]]
&&
echo
-e
"Host
*ntStrictHostKeyChecking
nonn"
>
~/.ssh/config'
-
ssh-add <(echo "$PRIVATE_KEY")
script
:
-
ssh -p50022 bolirev@bioneuro77.biologie.uni-bielefeld.de "mkdir -p /fastdata/html/navipy/"
-
mkdir -p public/coverage
-
cp -fr docs/build/html/* public/
-
cp -fr build/* public/coverage/
dependencies
:
-
coverage
artifacts
:
paths
:
-
public
only
:
-
master
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