Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Xbus emitter
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
XCG
Odoo modules
Xbus emitter
Merge requests
!4
update CI to use template
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
update CI to use template
topic/11.0/ci-update
into
branch/11.0
Overview
0
Commits
1
Pipelines
2
Changes
1
Merged
Vincent Hatakeyama
requested to merge
topic/11.0/ci-update
into
branch/11.0
4 years ago
Overview
0
Commits
1
Pipelines
2
Changes
1
Expand
--HG-- branch : 11.0
0
0
Merge request reports
Compare
branch/11.0
branch/11.0 (base)
and
latest version
latest version
1ccb7366
1 commit,
4 years ago
1 file
+
3
−
61
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
.gitlab-ci.yml
+
3
−
61
Options
stages
:
-
test
-
prepare
-
main
black
:
stage
:
test
image
:
name
:
houzefaabba/python3-black
entrypoint
:
[
/bin/busybox
]
script
:
-
black --check --line-length 79 .
flake8
:
stage
:
test
image
:
name
:
xcgd/flake8:3
entrypoint
:
[
/bin/busybox
]
script
:
-
flake8
isort
:
stage
:
test
image
:
xcgd/isort:odoo
script
:
-
isort --check-only --diff
get_odoo_scripts
:
stage
:
prepare
image
:
name
:
jamesnetherton/mercurial
entrypoint
:
[
"
"
]
artifacts
:
paths
:
-
odoo_scripts
expire_in
:
1h
script
:
-
hg clone https://orus.io/xcg/odoo_scripts
test
:
stage
:
main
image
:
name
:
registry.xcg.io/odoo/odoo:11.0
entrypoint
:
[
"
"
]
services
:
-
name
:
postgres:11-alpine
variables
:
POSTGRES_DB
:
xbus_emitter_test
POSTGRES_USER
:
odoo
POSTGRES_PASSWORD
:
odoo
POSTGRES_HOST_AUTH_METHOD
:
trust
DEBIAN_FRONTEND
:
noninteractive
script
:
# Fetch system dependencies.
-
apt-get -q update
-
apt-get -q -y install antiword zsh
# Run tests.
-
./odoo_scripts/do_tests postgres odoo
-
python3-coverage report -m
coverage
:
'
/TOTAL.+
([0-9]{1,3}%)/'
include
:
-
project
:
xcg/ci-templates
file
:
/odoo/11.0/gitlab-ci.yaml
Loading