mirror of
https://github.com/OCA/rma.git
synced 2025-02-16 17:11:47 +02:00
update travis config
This commit is contained in:
28
.travis.yml
28
.travis.yml
@@ -1,20 +1,32 @@
|
||||
language: python
|
||||
sudo: false
|
||||
cache:
|
||||
apt: true
|
||||
directories:
|
||||
- $HOME/.cache/pip
|
||||
|
||||
python:
|
||||
- "2.7"
|
||||
|
||||
sudo: false
|
||||
cache: pip
|
||||
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- expect-dev # provides unbuffer utility
|
||||
- python-lxml # because pip installation is slow
|
||||
- python-simplejson
|
||||
- python-serial
|
||||
- python-yaml
|
||||
|
||||
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"
|
||||
global:
|
||||
- VERSION="10.0" TESTS="0" LINT_CHECK="0" TRANSIFEX="0"
|
||||
- TRANSIFEX_USER='transbot@odoo-community.org'
|
||||
- secure: HgKcIRHgUR14+T9TRJvGAd2jn9cSChN87zrYPSZ2p63i/6+MU+WaK3lFf6T0NIjHQUvMMpZ1Cu+OFymvjbIEtvPeglaBVUA9ZED5vrW6ED2p24c09ADdQa3LeBoqLxholaYtbbaQrLNWEnZF0pY4Qk9ZQsHkj2LTpV+M+tOYwpM=
|
||||
matrix:
|
||||
- LINT_CHECK="1"
|
||||
- TRANSIFEX="1"
|
||||
- TESTS="1" ODOO_REPO="odoo/odoo"
|
||||
- TESTS="1" ODOO_REPO="OCA/OCB"
|
||||
|
||||
virtualenv:
|
||||
system_site_packages: true
|
||||
@@ -23,11 +35,9 @@ 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
|
||||
# add OCA/crm dependencies
|
||||
- git clone --depth=1 https://github.com/OCA/crm -b ${VERSION} $HOME/crm
|
||||
|
||||
script:
|
||||
- travis_run_tests
|
||||
|
||||
after_success:
|
||||
coveralls
|
||||
- travis_after_tests_success
|
||||
|
||||
Reference in New Issue
Block a user