mirror of
https://github.com/OCA/report-print-send.git
synced 2025-02-16 07:11:31 +02:00
15
.coveragerc
Normal file
15
.coveragerc
Normal file
@@ -0,0 +1,15 @@
|
||||
[report]
|
||||
include =
|
||||
*/OCA/report-print-send/*
|
||||
|
||||
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:
|
||||
27
.travis.yml
Normal file
27
.travis.yml
Normal file
@@ -0,0 +1,27 @@
|
||||
language: python
|
||||
python:
|
||||
- "2.7"
|
||||
|
||||
virtualenv:
|
||||
system_site_packages: true
|
||||
|
||||
before_install:
|
||||
- sudo apt-get update
|
||||
- sudo apt-get install libcups2-dev cups
|
||||
|
||||
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 6.1
|
||||
- pip install coveralls flake8
|
||||
- pip install pycups==1.9.66
|
||||
- pip install PyPDF2==1.18
|
||||
- pip install requests
|
||||
- git clone https://github.com/OCA/reporting-engine -b 6.1 $HOME/reporting-engine
|
||||
|
||||
script:
|
||||
- travis_run_flake8
|
||||
- travis_run_tests 6.1 $HOME/reporting-engine
|
||||
|
||||
after_success:
|
||||
coveralls
|
||||
Reference in New Issue
Block a user