Skip to content

Commit

Permalink
Merge pull request OCA#7 from guewen/7.0-base-files
Browse files Browse the repository at this point in the history
Add base files for the branch (.travis.yml, .coveragerc, .gitignore, README.md, LICENSE)
  • Loading branch information
guewen committed Aug 13, 2014
2 parents 2e03ab4 + 298f43d commit 8152dc2
Show file tree
Hide file tree
Showing 6 changed files with 781 additions and 2 deletions.
15 changes: 15 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[report]
include =
*/OCA/connector-magento/*

omit =
*/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:
56 changes: 56 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -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
32 changes: 32 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
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}
- pip install coveralls flake8
- sudo pip install magento
- sudo pip install nltk
- git clone https://github.com/OCA/connector ${HOME}/connector -b 7.0
- git clone https://github.com/OCA/connector-ecommerce ${HOME}/connector-ecommerce -b 7.0
- git clone https://github.com/OCA/sale-workflow ${HOME}/sale-workflow -b 7.0
- git clone https://github.com/OCA/e-commerce ${HOME}/e-commerce -b 7.0
- git clone https://github.com/OCA/product-attribute ${HOME}/product-attribute -b 7.0
- git clone https://github.com/OCA/server-tools ${HOME}/server-tools -b 7.0
- printf '[options]\n\nrunning_env = dev' > ${HOME}/.openerp_serverrc

script:
# - travis_run_flake8
- travis_run_tests ${VERSION}

after_success:
coveralls
Loading

0 comments on commit 8152dc2

Please sign in to comment.