language: python

python:
  - "2.7"

env:
  - VERSION="8.0" LINT_CHECK="1"
  - VERSION="8.0" ODOO_REPO="odoo/odoo" LINT_CHECK="0"
  - VERSION="8.0" ODOO_REPO="OCA/OCB" LINT_CHECK="0"

virtualenv:
  system_site_packages: true

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
  - pip install geojson Shapely
  - sudo apt-get -q -y install postgis

before_script:
  - wget --no-check-certificate http://patch-diff.githubusercontent.com/raw/odoo/odoo/pull/5618.patch
  - patch ${HOME}/odoo 5618.patch
  - wget--no-check-certificate http://patch-diff.githubusercontent.com/raw/odoo/odoo/pull/5620.patch
  - patch ${HOME}/odoo 5620.patch

script:
  - travis_run_tests

after_success:
  coveralls

language: python

python:
  - "2.7"

env:
  - VERSION="8.0" LINT_CHECK="1"
  - VERSION="8.0" ODOO_REPO="odoo/odoo" LINT_CHECK="0"
  - VERSION="8.0" ODOO_REPO="OCA/OCB" LINT_CHECK="0"

virtualenv:
  system_site_packages: true

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
  - pip install geojson Shapely
  - sudo apt-get -q -y install postgis

before_script:
  - wget --no-check-certificate http://patch-diff.githubusercontent.com/raw/odoo/odoo/pull/5618.patch
  - patch "${ODOO_REPO}-${VERSION}"/ 5618.patch
  - wget--no-check-certificate http://patch-diff.githubusercontent.com/raw/odoo/odoo/pull/5620.patch
  - patch "${ODOO_REPO}-${VERSION}"/ 5620.patch

script:
  - travis_run_tests

after_success:
  coveralls

Use env var to build the path to the Odoo checkout
[FIX] Use env var to build the path to the Odoo checkout
