Skip to content

Commit

Permalink
[CI] Update travis configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Jairo Llopis committed Dec 23, 2019
1 parent 1de2d53 commit 5307ceb
Showing 1 changed file with 20 additions and 10 deletions.
30 changes: 20 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ python:
- "2.7"

addons:
postgresql: "9.6"
apt:
packages:
- expect-dev # provides unbuffer utility
Expand All @@ -19,22 +20,31 @@ addons:
- cups
- libcups2-dev

stages:
- linting
- test

jobs:
include:
- stage: linting
env:
- LINT_CHECK="1"
- stage: test
env:
# add MAKEPOT="1" to a TEST line to export .pot files from
# the test database after test success
- TESTS="1" ODOO_REPO="odoo/odoo" MAKEPOT="1"
- stage: test
env:
- TESTS="1" ODOO_REPO="OCA/OCB"

env:
global:
- VERSION="9.0" TESTS="0" LINT_CHECK="0" TRANSIFEX="0"
- WKHTMLTOPDF_VERSION="0.12.4"
- WKHTMLTOPDF_VERSION="0.12.5"
- TRANSIFEX_USER='transbot@odoo-community.org'
- secure: HwYn7vV4wIM4ocObmgkylZmaw6FQynkbMiJmoTTfgL3y3Gy6IAPVXgTNXFUiIuYXZZ4B2GOAfcECQejCCw2KP7OCcBo1oGNuSJ2aVwiQcRH1ENDLTsMq1jcB/4vQuAmTS8WEE5nRkPyutwgE4kBYvZC4tENatakafPRAS+iNqpQ=

matrix:
- LINT_CHECK="1"
- TRANSIFEX="1"
- TESTS="1" ODOO_REPO="odoo/odoo"
- TESTS="1" ODOO_REPO="OCA/OCB"

virtualenv:
system_site_packages: true

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}
Expand Down

0 comments on commit 5307ceb

Please sign in to comment.