From e3604edc7c2b46ffb645955b1a55e4c2c5c8a47f Mon Sep 17 00:00:00 2001 From: Holger Brunn Date: Mon, 7 Jul 2014 12:41:48 +0200 Subject: [PATCH] add standard files --- .coveragerc | 19 ++++++++++++++++++ .gitignore | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++++ .travis.yml | 22 +++++++++++++++++++++ README.md | 12 ++++++++++++ 4 files changed, 109 insertions(+) create mode 100644 .coveragerc create mode 100644 .gitignore create mode 100644 .travis.yml create mode 100644 README.md diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 00000000..a06f8bfe --- /dev/null +++ b/.coveragerc @@ -0,0 +1,19 @@ +# Config file .coveragerc + +[report] +omit = + /usr/* + */bin/* + */lib/* + */odoo/* + */openerp/* + */tests/* + *__init__.py + +# Regexes for lines to exclude from consideration +exclude_lines = + # Have to re-enable the standard pragma + pragma: no cover + + # Don't complain about null context checking + if context is None: diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..890ff010 --- /dev/null +++ b/.gitignore @@ -0,0 +1,56 @@ +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] + +# C extensions +*.so + +# Distribution / packaging +.Python +env/ +bin/ +build/ +develop-eggs/ +dist/ +eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +*.egg-info/ +.installed.cfg +*.egg + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.coverage +.cache +nosetests.xml +coverage.xml + +# Translations +*.mo + +# Pycharm +.idea + +# Mr Developer +.mr.developer.cfg +.project +.pydevproject + +# Rope +.ropeproject + +# Sphinx documentation +docs/_build/ + +# Backup files +*~ +*.swp diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..b89afea2 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,22 @@ +language: python +python: + - "2.7" + +virtualenv: + system_site_packages: true + +install: + - git clone https://github.com/gurneyalex/maintainer-quality-tools.git $HOME/maintainer-quality-tools + - export PATH=$HOME/maintainer-quality-tools/travis:$PATH + - $HOME/maintainer-quality-tools/travis/travis_install_nightly 7.0 + - pip install coveralls flake8 + +services: + - postgresql + +script: + - travis_run_flake8 + - travis_run_tests 7.0 openerp_test + +after_success: + coveralls diff --git a/README.md b/README.md new file mode 100644 index 00000000..df3f2a6c --- /dev/null +++ b/README.md @@ -0,0 +1,12 @@ +[![Build Status](https://travis-ci.org/OCA/web.svg?branch=master)](https://travis-ci.org/OCA/web) +[![Coverage Status](https://img.shields.io/coveralls/OCA/web.svg)](https://coveralls.io/r/OCA/web?branch=master) + +Web addons for Odoo +=================== + +This project aims to deal with modules related to the webclient of Odoo. You'll find modules that: + +- Add facilities to the UI +- Add widgets +- Ease the import/export features +- Generally add clientside functionality