Coveralls logob
Coveralls logo
  • Home
  • Features
  • Pricing
  • Docs
  • Sign In

OCA / maintainer-quality-tools / 1735

DEFAULT BRANCH: master
Build:
LAST BUILD BRANCH: oca-clone_by_commit_sha-ebirbe
Repo Added 15 Jul 2014 09:56PM UTC
Total Files 108
# Builds 1228 Last
Badge
Badge Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

19 Nov 2019 - 13:10 coverage remained the same at 81.712%
1735

Pull #618

travis-ci

9181eb84f9c35729a3bad740fb7f9d93?size=18&default=identiconweb-flow
[IMP] Add Prettier and ESLint with --fix

This commit includes:

- Using https://prettier.io/ for supported file formats (these include CSS, SCSS, JS, HTML, MD, YAML and others; see website).
- Configure ESLint using `eslint-config-prettier` and removing stylistic checks to avoid conflicts with Prettier.
- Add `Promise` as a builtin for v13 (this was missed before, so I take this chance to add that).
- Format properly `.travis.yml` so that when it gets merged downstream it gets less diffs when passed trhough Prettier.
- Use `eslint --fix` so we get less warnings and more fixes.

Some insights:

- See https://github.com/OCA/web/pull/1441 as an example of how a web repo looks after this change.
- A beta XML Prettier plugin exists, which could be used in the future to autoformat XML files too!
  - But it's not usable for us right now, as you can see in https://github.com/prettier/plugin-xml/issues/13#issuecomment-555446753
  - Once that's fixed, we can use a configuration similar to https://github.com/prettier/plugin-xml/issues/17#issuecomment-555445966 to integrate here.
Pull Request #618: [IMP] Add Prettier and ESLint with --fix

7225 of 8842 relevant lines covered (81.71%)

6.73 hits per line

Jobs
Coverage Job Files Covered Ran
67.67
1735.1 (VERSION="9.0" TESTS="1" LINT_CHECK="0" INSTANCE_ALIVE="1" INCLUDE="broken_module" SERVER_EXPECTED_ERRORS="2") 9 19 Nov 2019 01:23PM UTC Travis Job 1735.1
64.13
1735.2 (VERSION="9.0" TESTS="1" LINT_CHECK="0" EXCLUDE="broken_module,broken_lint,broken_no_access_rule" OPTIONS="--log-level=debug" INSTALL_OPTIONS="--log-level=info" RUN_COMMAND_MQT_CREATE_FOLDER='mkdir /tmp/tests') 11 19 Nov 2019 01:27PM UTC Travis Job 1735.2
63.15
1735.3 (VERSION="9.0" TESTS="1" LINT_CHECK="0" INCLUDE="test_module,second_module" UNIT_TEST="1") 10 19 Nov 2019 01:31PM UTC Travis Job 1735.3
62.93
1735.4 (VERSION="9.0" TESTS="1" LINT_CHECK="0" INCLUDE="test_module,second_module" ODOO_REPO="OCA/OCB" MQT_TEMPLATE_DB='mqt_odoo_template_core' MQT_TEST_DB='mqt_odoo_core') 10 19 Nov 2019 01:35PM UTC Travis Job 1735.4
62.7
1735.5 (VERSION="" TESTS="0" LINT_CHECK="1" PYLINT_EXPECTED_ERRORS="35") 7 19 Nov 2019 01:38PM UTC Travis Job 1735.5
63.06
1735.6 (VERSION="" TESTS="0" LINT_CHECK="1" PYLINT_EXPECTED_ERRORS="36") 7 19 Nov 2019 01:41PM UTC Travis Job 1735.6
63.06
1735.7 (VERSION="" TESTS="0" LINT_CHECK="1" PYLINT_EXPECTED_ERRORS="36") 7 19 Nov 2019 01:44PM UTC Travis Job 1735.7
63.15
1735.8 (VERSION="11.0" ODOO_REPO="OCA/OCB" TESTS="1" LINT_CHECK="0" INCLUDE="test_module,second_module") 10 19 Nov 2019 01:48PM UTC Travis Job 1735.8
63.22
1735.9 (VERSION="11.0" ODOO_REPO="OCA/OCB" TESTS="1" LINT_CHECK="0" INCLUDE="test_module,second_module") 10 19 Nov 2019 01:53PM UTC Travis Job 1735.9
63.15
1735.10 (VERSION="12.0" ODOO_REPO="OCA/OCB" TESTS="1" LINT_CHECK="0" INCLUDE="test_module,second_module") 10 19 Nov 2019 01:57PM UTC Travis Job 1735.10
63.22
1735.11 (VERSION="12.0" ODOO_REPO="OCA/OCB" TESTS="1" LINT_CHECK="0" INCLUDE="test_module,second_module") 10 19 Nov 2019 02:00PM UTC Travis Job 1735.11
Source Files on build 1735
  • Tree
  • List 119
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #1735
  • Pull Request #618
  • PR Base - master (#1697)
Troubleshooting · Open an Issue · Sales · Support · ENTERPRISE · CAREERS · STATUS
BLOG · TWITTER · Legal & Privacy · Supported CI Services · What's a CI service? · Automated Testing

© 2019 Coveralls, LLC