Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Coveralls #4507 #8

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[run]
source = trytond.modules.attachment_s3

[report]
omit = */tests/*, */fabfile.py
8 changes: 7 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ before_install:
install:
- pip install flake8
- python setup.py install
- pip install coveralls
script:
- python setup.py test
- coverage run setup.py test
- flake8 .
after_success:
coveralls
notifications:
email:
- [email protected]
4 changes: 0 additions & 4 deletions README.md

This file was deleted.

10 changes: 10 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
trytond-attachment-s3
=====================

Amazon S3 backend for Tryton Attachments

.. image:: https://travis-ci.org/openlabs/trytond-attachment-s3.png?branch=develop
:target: https://travis-ci.org/openlabs/trytond-attachment-s3

.. image:: https://coveralls.io/repos/openlabs/trytond-attachment-s3/badge.png
:target: https://coveralls.io/r/openlabs/trytond-attachment-s3
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[flake8]
ignore = E126,E128,C901
ignore = E126,E128,C901,E131

max-complexity=10
max-line-length=80
9 changes: 5 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /usr/bin/env python
#This file is part of Tryton. The COPYRIGHT file at the top level of
#this repository contains the full copyright notices and license terms.
# This file is part of Tryton. The COPYRIGHT file at the top level of
# this repository contains the full copyright notices and license terms.
import re
import os
from setuptools import setup
Expand Down Expand Up @@ -50,8 +50,9 @@ def read(fname):
'trytond.modules.attachment_s3.tests',
],
package_data={
'trytond.modules.attachment_s3': info.get('xml', []) +
['tryton.cfg', 'locale/*.po', '*.odt', 'icons/*.svg'],
'trytond.modules.attachment_s3': info.get('xml', []) + [
'tryton.cfg', 'locale/*.po', '*.odt', 'icons/*.svg'
],
},
classifiers=[
'Development Status :: 5 - Production/Stable',
Expand Down