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
1e94cd74
Commit
1e94cd74
authored
6 years ago
by
Olivier Bertrand
Browse files
Options
Downloads
Patches
Plain Diff
Go back in time
parent
74549176
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
+13
-15
13 additions, 15 deletions
.gitlab-ci.yml
with
13 additions
and
15 deletions
.gitlab-ci.yml
+
13
−
15
View file @
1e94cd74
...
...
@@ -2,42 +2,40 @@
# This file is a template, and might need editing before it works on your project.
image
:
python:latest
before_script
:
-
python3 -V
# Print out python version for debugging
stages
:
-
build
-
test
-
doc_build
-
deploy
navipy_install
:
stage
:
build
before_script
:
-
python3 -V
# Print out python version for debugging
script
:
-
pip3 install virtualenv
-
virtualenv venv
-
source venv/bin/activate
-
python3 setup.py bdist_wheel
flake8
:
stage
:
test
script
:
-
pip3 install tox flake8
-
pip3 install
--user
tox flake8
-
python3 -m flake8 navipy/*.py
navipy_unittest
:
stage
:
test
script
:
-
pip3 install --user networkx
-
python3 -m unittest discover navipy
doc_build
:
stage
:
d
oc_build
stage
:
d
eploy
script
:
-
pip3 install --user sphinx sphinx_rtd_theme
-
cd doc ; make html
-
pip3 install --user sphinx sphinx-rtd-theme
-
cd doc ; make html
-
mv build/html/ ../public/
-
ls build/html/
artifacts
:
paths
:
-
public
only
:
-
master
This diff is collapsed.
Click to expand it.
Olivier Bertrand
@olivier.bertrand
mentioned in commit
b0f4b519
·
6 years ago
mentioned in commit
b0f4b519
mentioned in commit b0f4b519a94326e6180c9fcad844c1c5a853d4dc
Toggle commit list
Olivier Bertrand
@olivier.bertrand
mentioned in commit
afb58f24
·
6 years ago
mentioned in commit
afb58f24
mentioned in commit afb58f240d5865816c288e532e450b004d257457
Toggle commit list
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