diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..db4561ea --- /dev/null +++ b/.gitignore @@ -0,0 +1,54 @@ +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] + +# C extensions +*.so + +# Distribution / packaging +.Python +env/ +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +*.egg-info/ +.installed.cfg +*.egg + +# PyInstaller +# Usually these files are written by a python script from a template +# before PyInstaller builds the exe, so as to inject date/other infos into it. +*.manifest +*.spec + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.coverage +.cache +nosetests.xml +coverage.xml + +# Translations +*.mo +*.pot + +# Django stuff: +*.log + +# Sphinx documentation +docs/_build/ + +# PyBuilder +target/ diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..96ed724c --- /dev/null +++ b/.travis.yml @@ -0,0 +1,25 @@ +language: python + +python: + - "2.7" + +env: + - VERSION="8.0" LINT_CHECK="1" + - VERSION="8.0" ODOO_REPO="odoo/odoo" LINT_CHECK="0" + - VERSION="8.0" ODOO_REPO="OCA/OCB" LINT_CHECK="0" + - VERSION="8.0" UNIT_TEST="1" LINT_CHECK="0" + +virtualenv: + system_site_packages: true + +install: + - git clone https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools + - export PATH=${HOME}/maintainer-quality-tools/travis:${PATH} + - travis_install_nightly + - printf '[options]\n\nrunning_env = dev' > ${HOME}/.openerp_serverrc + +script: + - travis_run_tests + +after_success: + coveralls diff --git a/README.md b/README.md new file mode 100644 index 00000000..b04bdaea --- /dev/null +++ b/README.md @@ -0,0 +1,7 @@ +[![Build Status](https://travis-ci.org/OCA/pos.svg?branch=8.0)](https://travis-ci.org/OCA/pos) +[![Coverage Status](https://coveralls.io/repos/OCA/pos/badge.png?branch=8.0)](https://coveralls.io/r/OCA/pos?branch=8.0) + +pos +=== + +Point of sale