You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
732 B
39 lines
732 B
language: python
|
|
|
|
python:
|
|
- "3.6"
|
|
|
|
sudo: false
|
|
cache:
|
|
apt: true
|
|
directories:
|
|
- $HOME/.cache/pip3
|
|
|
|
addons:
|
|
postgresql: "9.6"
|
|
apt:
|
|
packages:
|
|
- expect-dev
|
|
- python-lxml
|
|
|
|
matrix:
|
|
include:
|
|
- python: 3.6
|
|
env:
|
|
VERSION="13.0" ODOO_REPO="odoo/odoo" TESTS="1" LINT_CHECK="0"
|
|
|
|
before_install:
|
|
- pip install codecov coverage
|
|
- pip install httpagentparser
|
|
|
|
install:
|
|
- git clone --depth=1 https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools
|
|
- export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}
|
|
- LINT_CHECK="1" travis_install_nightly
|
|
|
|
script:
|
|
- travis_run_tests
|
|
- test_pylint
|
|
|
|
after_success:
|
|
- LINT_CHECK="0" travis_after_tests_success
|
|
|