Skip to content

Commit f30a602

Browse files
author
Laetitia Gangloff
committed
Setup project with Travis, Coverage, added README and .gitignore
1 parent cf432af commit f30a602

File tree

4 files changed

+99
-0
lines changed

4 files changed

+99
-0
lines changed

.coveragerc

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
[report]
2+
include =
3+
*/OCA/product-attribute/*
4+
5+
omit =
6+
*/tests/*
7+
*__init__.py
8+
9+
# Regexes for lines to exclude from consideration
10+
exclude_lines =
11+
# Have to re-enable the standard pragma
12+
pragma: no cover
13+
14+
# Don't complain about null context checking
15+
if context is None:

.gitignore

+56
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# Byte-compiled / optimized / DLL files
2+
__pycache__/
3+
*.py[cod]
4+
5+
# C extensions
6+
*.so
7+
8+
# Distribution / packaging
9+
.Python
10+
env/
11+
bin/
12+
build/
13+
develop-eggs/
14+
dist/
15+
eggs/
16+
lib/
17+
lib64/
18+
parts/
19+
sdist/
20+
var/
21+
*.egg-info/
22+
.installed.cfg
23+
*.egg
24+
25+
# Installer logs
26+
pip-log.txt
27+
pip-delete-this-directory.txt
28+
29+
# Unit test / coverage reports
30+
htmlcov/
31+
.tox/
32+
.coverage
33+
.cache
34+
nosetests.xml
35+
coverage.xml
36+
37+
# Translations
38+
*.mo
39+
40+
# Pycharm
41+
.idea
42+
43+
# Mr Developer
44+
.mr.developer.cfg
45+
.project
46+
.pydevproject
47+
48+
# Rope
49+
.ropeproject
50+
51+
# Sphinx documentation
52+
docs/_build/
53+
54+
# Backup files
55+
*~
56+
*.swp

.travis.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
language: python
2+
python:
3+
- "2.7"
4+
5+
virtualenv:
6+
system_site_packages: true
7+
8+
install:
9+
- git clone https://github.com/gurneyalex/maintainer-quality-tools.git $HOME/maintainer-quality-tools
10+
- export PATH=$HOME/maintainer-quality-tools/travis:$PATH
11+
- $HOME/maintainer-quality-tools/travis/travis_install_nightly 7.0
12+
- pip install coveralls flake8
13+
14+
services:
15+
- postgresql
16+
17+
script:
18+
- travis_run_flake8
19+
- travis_run_tests 7.0 openerp_test
20+
21+
after_success:
22+
coveralls

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[![Build Status](https://travis-ci.org/OCA/product-attribute.svg?branch=7.0)](https://travis-ci.org/OCA/product-attribute)
2+
[![Coverage Status](https://img.shields.io/coveralls/OCA/product-attribute.svg)](https://coveralls.io/r/OCA/product-attribute?branch=7.0)
3+
4+
Odoo Product Attribute
5+
======================
6+

0 commit comments

Comments
 (0)