Skip to Content
Menu
This question has been flagged
1 Reply
4694 Views

Can anyone help how I can configure Travis for odoo.

Or share setp by step guide.

Thanks In Advance!

Avatar
Discard
Best Answer

These are the steps to configure Travis:

First download maintainer-quality-tools from git (https://github.com/OCA/maintainer-quality-tools).
extract the folder and put it beside your directory.

Run the following Command to hookup Travis with git:

1) cp maintainer-quality-tools/git/pre-commit your_custom_modules_directory/.git/hooks/.
2) mkdir your_custom_modules_directory/.git/hooks/cfg
3) cp maintainer-quality-tools/travis/cfg/travis_run_* your_custom_modules_directory/.git/hooks/cfg/.

if it gives pylint error then,

sudo pip install flake8 --upgrade
sudo pip install pep8 --upgrade
sudo pip install pylint --upgrade


Avatar
Discard
Related Posts Replies Views Activity
5
Oct 24
613
1
Aug 24
396
1
May 24
1337
0
Aug 23
864
3
Apr 23
22103