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
562c52d2
Commit
562c52d2
authored
6 years ago
by
Olivier Bertrand
Browse files
Options
Downloads
Patches
Plain Diff
Update gotlab ci
parent
aa0b371f
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
+11
-14
11 additions, 14 deletions
.gitlab-ci.yml
with
11 additions
and
14 deletions
.gitlab-ci.yml
+
11
−
14
View file @
562c52d2
...
@@ -10,23 +10,22 @@ stages:
...
@@ -10,23 +10,22 @@ stages:
navipy_install
:
navipy_install
:
stage
:
build
stage
:
build
before_script
:
before_script
:
-
python3 -V
# Print out python version for debugging
-
python3 -V
# Print out python version for debugging
artifacts
:
paths
:
-
venv
script
:
script
:
-
pip3 install virtualenv
-
pip3 install virtualenv
-
virtualenv venv
-
virtualenv venv
-
source venv/bin/activate
-
source venv/bin/activate
-
python3 setup.py bdist_wheel
-
python3 setup.py bdist_wheel
artifacts
:
paths
:
-
venv
flake8
:
flake8
:
stage
:
test
stage
:
test
before_script
:
-
ls -l
-
source venv/bin/activate
script
:
script
:
-
pip3 install tox flake8
-
pip3 install tox flake8
-
python3 -m flake8 navipy/*.py
-
python3 -m flake8 navipy/*.py
...
@@ -36,10 +35,7 @@ navipy_unittest:
...
@@ -36,10 +35,7 @@ navipy_unittest:
dependencies
:
dependencies
:
-
navipy_install
-
navipy_install
before_script
:
-
ls -l $CI_PROJECT_DIR
script
:
script
:
-
ls -l $CI_PROJECT_DIR
-
source $CI_PROJECT_DIR/venv/bin/activate
-
source $CI_PROJECT_DIR/venv/bin/activate
-
python3 -m unittest discover navipy
-
python3 -m unittest discover navipy
...
@@ -57,11 +53,11 @@ coverage:
...
@@ -57,11 +53,11 @@ coverage:
doc_build
:
doc_build
:
stage
:
doc_build
stage
:
doc_build
before_script
:
-
'
true'
script
:
script
:
-
source $CI_PROJECT_DIR/venv/bin/activate
-
pip3 install --user sphinx sphinx_rtd_theme
-
pip3 install --user sphinx sphinx_rtd_theme
-
cd doc ; make html
-
cd doc ; make html
artifacts
:
artifacts
:
paths
:
paths
:
-
build
-
build
...
@@ -82,6 +78,7 @@ pages:
...
@@ -82,6 +78,7 @@ pages:
-
mkdir -p public/coverage
-
mkdir -p public/coverage
-
cp -fr docs/build/html/* public/
-
cp -fr docs/build/html/* public/
-
cp -fr build/* public/coverage/
-
cp -fr build/* public/coverage/
dependencies
:
dependencies
:
-
coverage
-
coverage
...
...
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