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
d11e3a65
Commit
d11e3a65
authored
6 years ago
by
Olivier Bertrand
Browse files
Options
Downloads
Patches
Plain Diff
Revert "Revert "Go back in time""
This reverts commit
b0f4b519
.
parent
b0f4b519
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 @
d11e3a65
...
@@ -2,42 +2,40 @@
...
@@ -2,42 +2,40 @@
# This file is a template, and might need editing before it works on your project.
# This file is a template, and might need editing before it works on your project.
image
:
python:latest
image
:
python:latest
before_script
:
-
python3 -V
# Print out python version for debugging
stages
:
stages
:
-
build
-
build
-
test
-
test
-
doc_build
-
deploy
-
deploy
navipy_install
:
navipy_install
:
stage
:
build
stage
:
build
before_script
:
-
python3 -V
# Print out python version for debugging
script
:
script
:
-
pip3 install virtualenv
-
virtualenv venv
-
source venv/bin/activate
-
python3 setup.py bdist_wheel
-
python3 setup.py bdist_wheel
flake8
:
flake8
:
stage
:
test
stage
:
test
script
:
script
:
-
pip3 install tox flake8
-
pip3 install
--user
tox flake8
-
python3 -m flake8 navipy/*.py
-
python3 -m flake8 navipy/*.py
navipy_unittest
:
navipy_unittest
:
stage
:
test
stage
:
test
script
:
script
:
-
pip3 install --user networkx
-
python3 -m unittest discover navipy
-
python3 -m unittest discover navipy
doc_build
:
doc_build
:
stage
:
d
oc_build
stage
:
d
eploy
script
:
script
:
-
pip3 install --user sphinx sphinx_rtd_theme
-
pip3 install --user sphinx sphinx-rtd-theme
-
cd doc ; make html
-
cd doc ; make html
-
mv build/html/ ../public/
-
ls build/html/
artifacts
:
paths
:
-
public
only
:
only
:
-
master
-
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