• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

OCA / maintainer-quality-tools / 1734
63%
master: 70%

Build:
Build:
LAST BUILD BRANCH: remove-pycparser-temp-fix-sbi
DEFAULT BRANCH: master
Ran 19 Nov 2019 12:29PM UTC
Jobs 11
Files 108
Run time 50min
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

pending completion
1734

Pull #618

travis-ci

web-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

7195 of 8842 relevant lines covered (81.37%)

6.73 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1734.1 (VERSION="9.0" TESTS="1" LINT_CHECK="0" INSTANCE_ALIVE="1" INCLUDE="broken_module" SERVER_EXPECTED_ERRORS="2") 19 Nov 2019 12:29PM UTC 0
67.34
Travis Job 1734.1
2 1734.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') 19 Nov 2019 12:36PM UTC 0
64.13
Travis Job 1734.2
3 1734.3 (VERSION="9.0" TESTS="1" LINT_CHECK="0" INCLUDE="test_module,second_module" UNIT_TEST="1") 19 Nov 2019 12:43PM UTC 0
63.15
Travis Job 1734.3
4 1734.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') 19 Nov 2019 12:50PM UTC 0
62.93
Travis Job 1734.4
5 1734.5 (VERSION="" TESTS="0" LINT_CHECK="1" PYLINT_EXPECTED_ERRORS="35") 19 Nov 2019 12:52PM UTC 0
62.7
Travis Job 1734.5
6 1734.6 (VERSION="" TESTS="0" LINT_CHECK="1" PYLINT_EXPECTED_ERRORS="36") 19 Nov 2019 12:55PM UTC 0
63.06
Travis Job 1734.6
7 1734.7 (VERSION="" TESTS="0" LINT_CHECK="1" PYLINT_EXPECTED_ERRORS="36") 19 Nov 2019 12:58PM UTC 0
63.06
Travis Job 1734.7
8 1734.8 (VERSION="11.0" ODOO_REPO="OCA/OCB" TESTS="1" LINT_CHECK="0" INCLUDE="test_module,second_module") 19 Nov 2019 01:03PM UTC 0
63.15
Travis Job 1734.8
9 1734.9 (VERSION="11.0" ODOO_REPO="OCA/OCB" TESTS="1" LINT_CHECK="0" INCLUDE="test_module,second_module") 19 Nov 2019 01:08PM UTC 0
63.22
Travis Job 1734.9
10 1734.10 (VERSION="12.0" ODOO_REPO="OCA/OCB" TESTS="1" LINT_CHECK="0" INCLUDE="test_module,second_module") 19 Nov 2019 01:13PM UTC 0
63.15
Travis Job 1734.10
11 1734.11 (VERSION="12.0" ODOO_REPO="OCA/OCB" TESTS="1" LINT_CHECK="0" INCLUDE="test_module,second_module") 19 Nov 2019 01:20PM UTC 0
63.22
Travis Job 1734.11
Source Files on build 1734
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1734
  • Pull Request #618
  • PR Base - master (#1727)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc