[9.0][FIX] .travis: Update to latest template

This commit is contained in:
Denis Roussel
2019-11-10 14:16:59 +01:00
parent 28618b4455
commit c88b222d1d

View File

@@ -1,14 +1,12 @@
# Config file .travis.yml
language: python language: python
python: python:
- "2.7" - "2.7.13"
sudo: false sudo: false
cache: pip cache: pip
addons: addons:
postgresql: "9.2" # minimal postgresql version for the daterange method postgresql: "9.6"
apt: apt:
packages: packages:
- expect-dev # provides unbuffer utility - expect-dev # provides unbuffer utility
@@ -16,20 +14,24 @@ addons:
env: env:
global: global:
- VERSION="9.0" TESTS="0" LINT_CHECK="0" - VERSION="9.0" TESTS="0" LINT_CHECK="0" MAKEPOT="0"
- TRANSIFEX_USER='transbot@odoo-community.org' # Set this variable to some version existing as linux-generic build on
- secure: tDsvZaY3JqmnjgyRuKkgQRtlRILkkjnHtZPWWaGg+KBD+BBH4AqX5ACTyu5U/J6Kr/Yb5NIoM3+NYRuASdGXnJb9siZvh/9B58B1wKUbC2umH4Yrpw66CEvG9JY4XMOCZni9kQBwQ7iMk5GfusDWuVuydZjd6dAqkCxz6JdkIco= # 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: matrix:
- LINT_CHECK="1" - LINT_CHECK="1"
- TRANSIFEX="1" - TESTS=1 ODOO_REPO="odoo/odoo" MAKEPOT="1" LINT_CHECK="0"
- TESTS=1 ODOO_REPO="odoo/odoo" LINT_CHECK="0"
- TESTS=1 ODOO_REPO="OCA/OCB" LINT_CHECK="0" - TESTS=1 ODOO_REPO="OCA/OCB" LINT_CHECK="0"
virtualenv:
system_site_packages: true
install: install:
- git clone https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools - git clone --depth=1 https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools
- export PATH=${HOME}/maintainer-quality-tools/travis:${PATH} - export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}
- travis_install_nightly - travis_install_nightly