Browse Source

[IMP] travis: Upgrade travis config

* Switch to new matrix
* Add Transifex
* Add travis_after_tests_success
pull/448/head
Dave Lasley 8 years ago
parent
commit
91f9afed5f
  1. 20
      .travis.yml

20
.travis.yml

@ -13,24 +13,28 @@ addons:
- python-lxml # because pip installation is slow
env:
- VERSION="10.0" LINT_CHECK="1"
- VERSION="10.0" ODOO_REPO="odoo/odoo" LINT_CHECK="0"
- VERSION="10.0" ODOO_REPO="OCA/OCB" LINT_CHECK="0"
- VERSION="10.0" UNIT_TEST="1" LINT_CHECK="0"
global:
- VERSION="10.0" TESTS="0" LINT_CHECK="0" TRANSIFEX="0"
- TRANSIFEX_USER='transbot@odoo-community.org'
- secure: GzvUeJ2NRqb1+zQFgBcWmKqa9i3GtwD0XJP05UTGVYIBQ1oCuieB20LF8YhbXE/yI5fbbsc6AEfp3BJ579eD1vkcPFT2jyKawbVEi9NIaoKt/0KBhJJMjcLWqdCookEjdZvzRjOPbQav2o45guVZQNuxVuyIuR2gBJb8kIQ24VM=
matrix:
- LINT_CHECK="1"
- TRANSIFEX="1"
- TESTS="1" ODOO_REPO="odoo/odoo"
- TESTS="1" ODOO_REPO="OCA/OCB"
virtualenv:
system_site_packages: true
install:
- pip install anybox.testing.openerp
- 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}
- travis_install_nightly
# example: dependency
# - git clone https://github.com/OCA/webkit-tools -b ${VERSION} $HOME/webkit-tools
script:
- travis_run_tests
after_success:
coveralls
- travis_after_tests_success
Loading…
Cancel
Save