mirror of
https://github.com/OCA/report-print-send.git
synced 2025-02-16 07:11:31 +02:00
Merge pull request #10 from guewen/8.0-base-files
Update the build configuration
This commit is contained in:
15
.coveragerc
15
.coveragerc
@@ -1,15 +0,0 @@
|
|||||||
[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:
|
|
||||||
11
.travis.yml
11
.travis.yml
@@ -2,6 +2,10 @@ language: python
|
|||||||
python:
|
python:
|
||||||
- "2.7"
|
- "2.7"
|
||||||
|
|
||||||
|
env:
|
||||||
|
- VERSION="8.0" ODOO_REPO="odoo/odoo" UNIT_TEST="1"
|
||||||
|
- VERSION="8.0" ODOO_REPO="OCA/OCB" UNIT_TEST="1"
|
||||||
|
|
||||||
virtualenv:
|
virtualenv:
|
||||||
system_site_packages: true
|
system_site_packages: true
|
||||||
|
|
||||||
@@ -12,16 +16,15 @@ before_install:
|
|||||||
install:
|
install:
|
||||||
- git clone https://github.com/OCA/maintainer-quality-tools.git $HOME/maintainer-quality-tools
|
- git clone https://github.com/OCA/maintainer-quality-tools.git $HOME/maintainer-quality-tools
|
||||||
- export PATH=$HOME/maintainer-quality-tools/travis:$PATH
|
- export PATH=$HOME/maintainer-quality-tools/travis:$PATH
|
||||||
- travis_install_nightly 7.0
|
- travis_install_nightly
|
||||||
- pip install coveralls flake8
|
- pip install coveralls flake8
|
||||||
- pip install pycups==1.9.66
|
- pip install pycups==1.9.66
|
||||||
- pip install PyPDF2==1.18
|
- pip install PyPDF2==1.18
|
||||||
- pip install requests
|
- pip install requests
|
||||||
- git clone https://github.com/OCA/reporting-engine -b 7.0 $HOME/reporting-engine
|
- git clone https://github.com/OCA/reporting-engine -b ${VERSION} $HOME/reporting-engine
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- travis_run_flake8
|
- travis_run_tests
|
||||||
- travis_run_tests 7.0 $HOME/reporting-engine
|
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
coveralls
|
coveralls
|
||||||
|
|||||||
Reference in New Issue
Block a user