forked from itpp-labs/pos-addons
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
47 lines (36 loc) · 1.78 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
language: python
python:
- "3.5"
sudo: false
cache: pip
addons:
# odoo 12.0+ uses command "INSERT ... ON CONFLICT ...", which is available in 9.5+ only
postgresql: "9.5"
apt:
packages:
- expect-dev # provides unbuffer utility
- python-lxml # because pip installation is slow
env:
global:
- VERSION="12.0" TESTS="0" LINT_CHECK="0" TRANSIFEX="0" UNIT_TEST="0"
- SERVER_OPTIONS="--log-handler=odoo.addons.pos_longpolling:DEBUG"
- EXCLUDE="hw_printer_network,hw_twitter_printing"
- PYLINT_ODOO_JSLINTRC="/home/travis/maintainer-quality-tools/travis/cfg/.jslintrc"
- TRANSIFEX_USER='[email protected]'
- secure: "LALUDmASaCYKLpDE97zycd1tnui7ozddyjrfCLAowKUyMxx5xjrCSeFzebZfYVpf+PeBunYOrRpspgRi81NpWeFUjb92TrGSdFmkcPQKQJa1zFRhblRexR48dxv1+/Ubi/ZNIvt6uxztPvynCDk78j7jwiSj3bKD6t5P7oI22jwo4DkhlY9gmb9Ook3pxKm1enohyUpSgfAUyoINvOdaLXMmCg0lxwVmzNw4jgWWIQDgmycrCjQioRFeiPOsvvNC0RklVaKbtnzsA9PmfMUL40F2Lu67EnBXk3IVfqnQJQjVYVO5IUbAtpw76+CTheFXBrDIJ2gk5y/tpOk215N8DekFaX0BRLOlTkF+PLUO9RHLWHfrVTwYqBggKcTj2Oz+nsGuj5sTRSTVLU03vKGMb2KKmH4QldgLgcRG26qTKVhRw6LCaCsLgdZptF93c8QoyI7bgQspOBVb9asQIJ/wbS+SluPBLAw4WTWrqI0BY+y4YjaSSZO9QNLUgthhg1AuSJw2Kb5265AI1ha7HQUEsYYDP4l8K68RK22TnuPvgBcbCpiEmU28D1o08Va2Q6W2BFu+zhbNF1CP6endtbk2kjdLtyu06XaJkY8Ac8TexaYb9wvvfDNfdpQGhIMRpdQDhjLMdLT3VfkNBmOU1w2214zl6YzqxTh0OXrsZC64IPM="
matrix:
- LINT_CHECK="1"
- TESTS="1" ODOO_REPO="odoo/odoo"
- TESTS="1" ODOO_REPO="OCA/OCB""
- TRANSIFEX="1"
install:
- pip install anybox.testing.openerp
- git clone https://github.com/it-projects-llc/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:
- travis_after_tests_success
notifications:
email: false