GithubHelp home page GithubHelp logo

incaser / maintainer-quality-tools Goto Github PK

View Code? Open in Web Editor NEW

This project forked from oca/maintainer-quality-tools

0.0 3.0 0.0 511 KB

QA tools for Odoo maintainers

License: GNU Affero General Public License v3.0

Shell 4.31% Python 95.69%

maintainer-quality-tools's Introduction

Build Status Coverage Status

QA Tools for Odoo maintainers

The goal is to provide helpers to ensure the quality of Odoo addons.

Sample travis configuration file (for version 7.0)

To setup the TravisCI continuous integration for your project, just copy the content of the /sample_files to your project’s root directory.

If your project depends on other OCA/Github repositories, create a file called oca_dependencies.txt at the root of your project and list the dependencies in there, one per line:

project_name optional_repository_url optional_branch_name

The addons path used will automatically consider these repositories.

Check your .travis file for syntax issues.

You can test your .travis file in this linter very useful when you are improving your file.

Module unit tests

The quality tools now are also capable to test each module individually. This is intended to check if all dependencies are correctly defined. This is activated through the UNIT_TEST directive. For current repositories to benefit this, an additional line should be added to the env: section, similar to this one:

- VERSION="8.0" UNIT_TEST="1"

Coveralls configuration file

Coveralls provides information on the test coverage of your modules. Currently the Coveralls configuration is automatic, so you don't need to include a .coveragerc to the repository. Please note that if you do it, it will be ignored.

Isolated pylint+flake8 checks

If you want to make a build exclusive for these checks, you can add a line on the env: section of the .travis.yml file with this content:

- VERSION="7.0" LINT_CHECK="1"

You will get a faster answer about these questions and also a fast view over semaphore icons in Travis build view.

To avoid making again these checks on other builds, you have to add LINT_CHECK="0" variable on the line:

- VERSION="7.0" ODOO_REPO="odoo/odoo" LINT_CHECK="0"

maintainer-quality-tools's People

Contributors

moylop260 avatar dreispt avatar gurneyalex avatar pedrobaeza avatar bwrsandman avatar guewen avatar ehtaga avatar lepistone avatar hbrunn avatar yvaucher avatar nhomar avatar sbidoul avatar jgrandguillaume avatar nbessi avatar rlizana avatar elbati avatar oscarolar avatar francotampieri avatar jem-odoo avatar lmignon avatar mathi123 avatar

Watchers

James Cloos avatar Sergio Teruel Albert avatar Carlos Dauden avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.