From 423748a250363bb16140b54bddeac63350675d6c Mon Sep 17 00:00:00 2001 From: Sylvain LE GAL Date: Sun, 2 Nov 2014 14:55:11 +0100 Subject: [PATCH 1/8] Create .gitignore --- .gitignore | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 .gitignore 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/ From 1d82398baf4b411f3d513480a024246b7c59f22f Mon Sep 17 00:00:00 2001 From: Sylvain LE GAL Date: Sun, 2 Nov 2014 14:55:22 +0100 Subject: [PATCH 2/8] Create README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 00000000..92e815e9 --- /dev/null +++ b/README.md @@ -0,0 +1,4 @@ +pos +=== + +Point of sale From 370d0273c02b2d7b9304b2965c5d0844c0cb2a12 Mon Sep 17 00:00:00 2001 From: Sylvain LE GAL Date: Sun, 2 Nov 2014 15:00:58 +0100 Subject: [PATCH 3/8] [ADD] Travis File --- .travis.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..9193ca3a --- /dev/null +++ b/.travis.yml @@ -0,0 +1,22 @@ +language: python +python: + - "2.7" + +env: + - VERSION="7.0" ODOO_REPO="odoo/odoo" + - VERSION="7.0" ODOO_REPO="OCA/OCB" + +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 ${VERSION} + - printf '[options]\n\nrunning_env = dev' > ${HOME}/.openerp_serverrc + +script: + - travis_run_tests ${VERSION} + +after_success: +coveralls From cb0160a177a82cd0d045b32a56cb90c45bf9d8aa Mon Sep 17 00:00:00 2001 From: Sylvain LE GAL Date: Sun, 2 Nov 2014 15:10:31 +0100 Subject: [PATCH 4/8] Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 92e815e9..04ba60bb 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,6 @@ +[![Build Status](https://travis-ci.org/OCA/pos.svg?branch=7.0)](https://travis-ci.org/OCA/pos) +[![Coverage Status](https://coveralls.io/repos/OCA/pos/badge.png?branch=7.0)](https://coveralls.io/r/OCA/pos?branch=7.0) + pos === From 68d83985c99b366534251503c69e6e720574d6eb Mon Sep 17 00:00:00 2001 From: Sylvain LE GAL Date: Sun, 2 Nov 2014 16:39:53 +0100 Subject: [PATCH 5/8] Update Readme to 8.0 serie --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 04ba60bb..b04bdaea 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -[![Build Status](https://travis-ci.org/OCA/pos.svg?branch=7.0)](https://travis-ci.org/OCA/pos) -[![Coverage Status](https://coveralls.io/repos/OCA/pos/badge.png?branch=7.0)](https://coveralls.io/r/OCA/pos?branch=7.0) +[![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 === From a7a8ddbabf065c40b853cb92e9eaeef07c842649 Mon Sep 17 00:00:00 2001 From: Sylvain LE GAL Date: Sat, 15 Nov 2014 17:01:30 +0100 Subject: [PATCH 6/8] [FIX] Travis file; --- .travis.yml | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9193ca3a..a8492963 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,22 +1,28 @@ language: python + python: - - "2.7" + - "2.7" env: - - VERSION="7.0" ODOO_REPO="odoo/odoo" - - VERSION="7.0" ODOO_REPO="OCA/OCB" + - VERSION="8.0" ODOO_REPO="odoo/odoo" + - VERSION="8.0" ODOO_REPO="OCA/OCB" + - VERSION="8.0" UNIT_TEST="1" virtualenv: - system_site_packages: true + system_site_packages: true + +env: + - VERSION="8.0" ODOO_REPO="odoo/odoo" + - VERSION="8.0" ODOO_REPO="OCA/OCB" 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 ${VERSION} - - printf '[options]\n\nrunning_env = dev' > ${HOME}/.openerp_serverrc + - 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 ${VERSION} + - travis_run_tests after_success: -coveralls + coveralls From 08bc3cd2bf5910b94629dff21d724194d939a508 Mon Sep 17 00:00:00 2001 From: Yannick Vaucher Date: Tue, 16 Dec 2014 13:23:18 +0100 Subject: [PATCH 7/8] Separated Lint tests --- .travis.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index a8492963..5c0911e0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,16 +4,18 @@ python: - "2.7" env: - - VERSION="8.0" ODOO_REPO="odoo/odoo" - - VERSION="8.0" ODOO_REPO="OCA/OCB" - - VERSION="8.0" UNIT_TEST="1" + - 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 env: - - VERSION="8.0" ODOO_REPO="odoo/odoo" - - VERSION="8.0" ODOO_REPO="OCA/OCB" + - 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" install: - git clone https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools From 30834dc7deb4ad48fdf88adcad664ef894ef86ac Mon Sep 17 00:00:00 2001 From: Yannick Vaucher Date: Tue, 16 Dec 2014 16:34:37 +0100 Subject: [PATCH 8/8] Remove second env list --- .travis.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5c0911e0..96ed724c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,11 +12,6 @@ env: virtualenv: system_site_packages: true -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" - install: - git clone https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools - export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}