Skip to content

Commit

Permalink
Merge c298f75 into dec3863
Browse files Browse the repository at this point in the history
  • Loading branch information
bwrsandman committed Jul 18, 2014
2 parents dec3863 + c298f75 commit 8076ae9
Show file tree
Hide file tree
Showing 5 changed files with 767 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Config file .coveragerc

[report]
include =
*/OCA/knowledge/*

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:
50 changes: 50 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# buildout
tools/.*
tools/bin
tools/develop-eggs
tools/eggs
tools/etc
tools/parts

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]

# C extensions
*.so

# Distribution / packaging
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
.tox/
.coverage
.cache
nosetests.xml
coverage.xml

# Translations
*.mo

# Pycharm
.idea

# Backup files
*~
*.swp
23 changes: 23 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
language: python

python:
- "2.7"

env:
- VERSION="6.1"

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}
- $HOME/maintainer-quality-tools/travis/travis_install_nightly ${VERSION}

script:
- travis_run_flake8
- travis_run_tests ${VERSION}

after_success:
coveralls

0 comments on commit 8076ae9

Please sign in to comment.