Skip to content

Commit

Permalink
[FIX] .travis.yml: Latest template
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrobaeza committed Jan 12, 2017
1 parent 3667b96 commit 08f462c
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 15 deletions.
37 changes: 22 additions & 15 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,41 @@
language: python
sudo: false
cache: pip
cache:
apt: true
directories:
- $HOME/.cache/pip

python:
- "2.7"

addons:
apt:
packages:
- expect-dev # provides unbuffer utility
- python-lxml # because pip installation is slow

language: python

python:
- "2.7"

env:
- VERSION="9.0" LINT_CHECK="1"
- VERSION="9.0" ODOO_REPO="odoo/odoo" LINT_CHECK="0"
- VERSION="9.0" ODOO_REPO="OCA/OCB" LINT_CHECK="0"
global:
- VERSION="9.0" TESTS="0" LINT_CHECK="0" TRANSIFEX="0"
- TRANSIFEX_USER='transbot@odoo-community.org'
- secure: MXA7yWDpdF/5PVxnKUw3ZomhHhRLpmMJJtmXd95BVhPhQoQMgdgV0sEH5X92SIEcAb7ZrAYvllESP6yOK1yxcNyfRvpHfgfTQpyQhUdUF9zeUihyCAkpDTgBqYCwqdPPIwCcjEA6QI1w6ND4kKq1QJONI+XDPK3HE6fZbtqTFc8=

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 https://github.com/OCA/maintainer-quality-tools.git $HOME/maintainer-quality-tools
- export PATH=$HOME/maintainer-quality-tools/travis:$PATH
- travis_install_nightly
- git clone https://github.com/OCA/account-invoice-reporting -b 9.0 $HOME/account-invoice-reporting
- git clone https://github.com/OCA/webkit-tools -b 9.0 $HOME/webkit-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}
- travis_install_nightly

script:
- travis_run_tests

after_success:
coveralls
- travis_after_tests_success
2 changes: 2 additions & 0 deletions oca_dependencies.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
account-invoice-reporting
webkit-tools

0 comments on commit 08f462c

Please sign in to comment.