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
8a7f7f11
Commit
8a7f7f11
authored
7 years ago
by
Olivier Bertrand
Browse files
Options
Downloads
Patches
Plain Diff
Add gitlab ci
parent
1d583e63
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+33
-0
33 additions, 0 deletions
.gitlab-ci.yml
with
33 additions
and
0 deletions
.gitlab-ci.yml
0 → 100644
+
33
−
0
View file @
8a7f7f11
# 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
before_script
:
-
python3 -V
# Print out python version for debugging
test
:
script
:
-
python3 setup.py test
-
pip3 install tox flake8
# you can also use tox
-
tox -e py36,flake8
run
:
script
:
-
python3 setup.py bdist_wheel
# an alternative approach is to install and run:
-
pip3 install dist/*
# run the command here
artifacts
:
paths
:
-
dist/*.whl
pages
:
script
:
-
pip3 install sphinx sphinx-rtd-theme
-
cd doc ; make html
-
mv build/html/ ../public/
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