Browse Source

[FIX] .travis.yml

pull/176/head
Pedro M. Baeza 8 years ago
parent
commit
8f7b746fda
  1. 18
      .coveragerc
  2. 19
      .travis.yml
  3. 1
      oca_dependencies.txt

18
.coveragerc

@ -1,18 +0,0 @@
# Config file .coveragerc
# adapt the include for your project
[report]
include =
*/OCA/account-financial-reporting/*
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:

19
.travis.yml

@ -16,9 +16,16 @@ python:
- "2.7"
env:
- VERSION="7.0" LINT_CHECK="1"
- VERSION="7.0" ODOO_REPO="odoo/odoo" LINT_CHECK="0"
- VERSION="7.0" ODOO_REPO="OCA/OCB" LINT_CHECK="0"
global:
- VERSION="7.0" TESTS="0" LINT_CHECK="0" TRANSIFEX="0"
- TRANSIFEX_USER='transbot@odoo-community.org'
- secure: MZ5W99aYtT5mntw9Aur7bZ0FFXHZYc3v2oWg9dEODeKcLWUTmQbPC/T/pcjex1MBQTIHy0GZ+M/kj7qQQilbtbMYnjt7VBcY+fY1cZskEohc7mK/c8sUNHeUYj7Ec7n7VriY0XjQVH7Ov3FkiDoUm/4um0VyhH8LpKWw0vMhqFY=
matrix:
- LINT_CHECK="1"
- TRANSIFEX="1"
- TESTS="1" ODOO_REPO="odoo/odoo"
- TESTS="1" ODOO_REPO="OCA/OCB"
virtualenv:
system_site_packages: true
@ -28,11 +35,7 @@ before_install:
- "sh -e /etc/init.d/xvfb start"
install:
- git clone https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools
- git clone https://github.com/OCA/webkit-tools.git ${HOME}/webkit-tools -b ${VERSION}
- sudo apt-get install xfonts-75dpi
- sudo wget http://sourceforge.net/projects/wkhtmltopdf/files/0.12.2.1/wkhtmltox-0.12.2.1_linux-precise-amd64.deb -P /tmp/
- sudo dpkg -i /tmp/wkhtmltox-0.12.2.1_linux-precise-amd64.deb
- git clone --depth=1 https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools
- export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}
- travis_install_nightly

1
oca_dependencies.txt

@ -1,3 +1,4 @@
# list the OCA project dependencies, one per line
# add a github url if you need a forked version
reporting-engine
webkit-tools
Loading…
Cancel
Save