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
Admin message
Looking for advice? Join the
Matrix channel for GitLab users in Bielefeld
!
Show more breadcrumbs
Olivier Bertrand
navipy
Commits
f43900b9
Commit
f43900b9
authored
7 years ago
by
Olivier Bertrand
Browse files
Options
Downloads
Patches
Plain Diff
reformat CI/CD
parent
890789b0
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+9
-7
9 additions, 7 deletions
.gitlab-ci.yml
with
9 additions
and
7 deletions
.gitlab-ci.yml
+
9
−
7
View file @
f43900b9
...
@@ -7,26 +7,28 @@ before_script:
...
@@ -7,26 +7,28 @@ before_script:
stages
:
stages
:
-
build
-
build
-
flake8
-
test
-
test
-
deploy
build
:
navipy_install
:
stage
:
build
script
:
script
:
-
python3 setup.py bdist_wheel
-
python3 setup.py bdist_wheel
flake8
:
flake8
:
stage
:
test
script
:
script
:
-
pip3 install --user tox flake8
-
pip3 install --user tox flake8
-
python3 -m flake8 navipy/*.py
-
python3 -m flake8 navipy/*.py
test
:
navipy_unittest
:
stage
:
test
script
:
script
:
-
pip3 install --user networkx
# you can also use tox
-
pip3 install --user networkx
-
python3 -m unittest discover navipy
-
python3 -m unittest discover navipy
doc_build
:
stage
:
deploy
pages
:
script
:
script
:
-
pip3 install --user sphinx sphinx-rtd-theme
-
pip3 install --user sphinx sphinx-rtd-theme
-
cd doc ; make html
-
cd doc ; make html
...
...
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