mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
43 lines
1.3 KiB
YAML
43 lines
1.3 KiB
YAML
language: python
|
|
python:
|
|
- "2.7.13"
|
|
|
|
sudo: false
|
|
cache: pip
|
|
|
|
addons:
|
|
postgresql: "9.6"
|
|
apt:
|
|
packages:
|
|
- expect-dev # provides unbuffer utility
|
|
- python-lxml # because pip installation is slow
|
|
|
|
env:
|
|
global:
|
|
- VERSION="9.0" TESTS="0" LINT_CHECK="0" MAKEPOT="0"
|
|
# Set this variable to some version existing as linux-generic build on
|
|
# https://github.com/wkhtmltopdf/wkhtmltopdf/releases
|
|
# if you need to install wkhtmltopdf
|
|
# - WKHTMLTOPDF_VERSION="0.12.5"
|
|
# Set the above to install a `wkhtmltopdf` version that is not the one provided
|
|
# by the `pov-wkhtmltopdf` repo.
|
|
- PHANTOMJS_VERSION="latest"
|
|
# The above line controls the PhantomJS version that is used for JS testing.
|
|
# It is not necessary to include this value unless you are altering the default.
|
|
# Use `OS` to skip the PhantomJS upgrade & use the system version instead.
|
|
matrix:
|
|
- LINT_CHECK="1"
|
|
- TESTS=1 ODOO_REPO="odoo/odoo" MAKEPOT="1" LINT_CHECK="0"
|
|
- TESTS=1 ODOO_REPO="OCA/OCB" LINT_CHECK="0"
|
|
|
|
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}
|
|
- travis_install_nightly
|
|
|
|
script:
|
|
- travis_run_tests
|
|
|
|
after_success:
|
|
- travis_after_tests_success
|