Skip to content

Commit d91822f

Browse files
Merge pull request #106 from Tecnativa/fix-links
Fix Build status link to show GH Actions info
2 parents 58f9d21 + 83949bf commit d91822f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/README.md.jinja

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@
22
{{- version | replace(".","-") -}}
33
{%- endmacro -%}
44
[![Runboat](https://img.shields.io/badge/runboat-Try%20me-875A7B.png)](https://runboat.odoo-community.org/builds?repo=OCA/{{ repo_slug }}&target_branch={{ odoo_version }})
5+
{%- if ci == "Travis" %}
56
[![Build Status](https://travis-ci.com/OCA/{{ repo_slug }}.svg?branch={{ odoo_version }})](https://travis-ci.com/OCA/{{ repo_slug }})
7+
{%- else %}
8+
[![Pre-commit Status](https://github.com/OCA/{{ repo_slug }}/actions/workflows/pre-commit.yml/badge.svg?branch={{ odoo_version }})](https://github.com/OCA/{{ repo_slug }}/actions/workflows/pre-commit.yml?query=branch%3A{{ odoo_version }})
9+
[![Build Status](https://github.com/OCA/{{ repo_slug }}/actions/workflows/test.yml/badge.svg?branch={{ odoo_version }})](https://github.com/OCA/{{ repo_slug }}/actions/workflows/test.yml?query=branch%3A{{ odoo_version }})
10+
{%- endif %}
611
[![codecov](https://codecov.io/gh/OCA/{{ repo_slug }}/branch/{{ odoo_version }}/graph/badge.svg)](https://codecov.io/gh/OCA/{{ repo_slug }})
712
[![Translation Status](https://translation.odoo-community.org/widgets/{{ repo_slug }}-{{ odoo_version_slug(odoo_version) }}/-/svg-badge.svg)](https://translation.odoo-community.org/engage/{{ repo_slug }}-{{ odoo_version_slug(odoo_version) }}/?utm_source=widget)
813

0 commit comments

Comments
 (0)