mirror of
https://github.com/OCA/intrastat-extrastat.git
synced 2025-02-16 17:13:41 +02:00
54 lines
1.8 KiB
YAML
54 lines
1.8 KiB
YAML
language: python
|
|
sudo: false
|
|
cache: pip
|
|
|
|
python:
|
|
- "3.5"
|
|
|
|
addons:
|
|
postgresql: "9.6"
|
|
apt:
|
|
# only add the two lines below if you need wkhtmltopdf for your tests
|
|
# sources:
|
|
# - pov-wkhtmltopdf
|
|
# Search your sources alias here:
|
|
# https://github.com/travis-ci/apt-source-whitelist/blob/master/ubuntu.json
|
|
packages:
|
|
- expect-dev # provides unbuffer utility
|
|
- python-lxml # because pip installation is slow
|
|
- python-simplejson
|
|
- python-serial
|
|
- python-yaml
|
|
# Search your packages here:
|
|
# https://github.com/travis-ci/apt-package-whitelist/blob/master/ubuntu-precise
|
|
# - wkhtmltopdf # only add if needed and check the before_install section below
|
|
|
|
env:
|
|
global:
|
|
- VERSION="12.0" TESTS="0" LINT_CHECK="0" MAKEPOT="0"
|
|
- TRANSIFEX_USER='transbot@odoo-community.org'
|
|
# Secure list for current OCA projects is in https://github.com/OCA/maintainer-quality-tools/issues/194
|
|
- secure: PjP88tPSwimBv4tsgn3UcQAD1heK/wcuSaSfhi2xUt/jSrOaTmWzjaW2gH/eKM1ilxPXwlPGyAIShJ2JJdBiA97hQufOeiqxdkWDctnNVVEDx2Tk0BiG3PPYyhXPgUZ+FNOnjZFF3pNWvzXTQaB0Nvz8plqp93Ov/DEyhrCxHDs=
|
|
matrix:
|
|
- LINT_CHECK="1"
|
|
- TESTS="1" ODOO_REPO="odoo/odoo" MAKEPOT="1"
|
|
- TESTS="1" ODOO_REPO="OCA/OCB"
|
|
# either use the two lines above or the two below. Don't change the default if
|
|
# it's not necessary (it is only necessary if modules in your repository can't
|
|
# be installed in the same database. And you get a huge speed penalty in your
|
|
# tests)
|
|
# - TESTS="1.0" ODOO_REPO="OCA/OCB" UNIT_TEST="1"
|
|
# - TESTS="1.0" ODOO_REPO="odoo/odoo" UNIT_TEST="1"
|
|
|
|
|
|
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
|