Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
GooCalendar
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Tryton
GooCalendar
Commits
993236bc3447
Commit
993236bc3447
authored
2 years ago
by
Cédric Krier
Browse files
Options
Downloads
Patches
Plain Diff
Add gitlab CI
parent
488f62801858
No related branches found
No related tags found
1 merge request
!1
Add gitlab CI
Pipeline
#59697
passed
2 years ago
Stage: check
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+45
-0
45 additions, 0 deletions
.gitlab-ci.yml
with
45 additions
and
0 deletions
.gitlab-ci.yml
0 → 100644
+
45
−
0
View file @
993236bc
workflow
:
rules
:
-
if
:
$CI_PIPELINE_SOURCE == "trigger"
-
if
:
$CI_PIPELINE_SOURCE == "merge_request_event"
-
if
:
$CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS
when
:
never
-
if
:
$CI_COMMIT_BRANCH =~ /^branch\/.*/
stages
:
-
check
.check
:
stage
:
check
rules
:
-
if
:
$CI_MERGE_REQUEST_ID !=
null
when
:
always
image
:
${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/tryton/ci
check-doc
:
extends
:
.check
image
:
sphinxdoc/sphinx
script
:
-
python -m sphinx -T -E -W -n -b html doc _build/html
-
python -m sphinx -T -E -W -n -b linkcheck doc _build
rules
:
-
changes
:
-
doc/**/*
check-flake8
:
extends
:
.check
script
:
-
hg diff --rev s0 | flake8 --diff
check-isort
:
extends
:
.check
script
:
-
isort -m VERTICAL_GRID -p trytond -c `hg status --no-status --added --modified --rev s0`
check-dist
:
extends
:
.check
before_script
:
-
pip install twine
script
:
-
python setup.py sdist
-
twine check dist/*
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