forked from ingadhoc/multi-company
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
86 lines (74 loc) · 3.26 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
language: python
sudo: false
cache:
apt: true
directories:
- $HOME/.cache/pip
python:
- "2.7"
addons:
apt:
# only add the two lines below if you need wkhtmltopdf for your tests
# sources:
# - pov-wkhtmltopdf
# Search your sources alias here:
# https://github.com/travis-ci/apt-source-whitelist/blob/master/ubuntu.json
packages:
- expect-dev # provides unbuffer utility
- python-lxml # because pip installation is slow
- python-simplejson
- python-serial
- python-yaml
- libcups2-dev # for aeroo because this repo depends of reporting and reporting from aeroo
# FE
- python-dev
- swig
- libffi-dev
- libssl-dev
- python-m2crypto
- python-httplib2
# Search your packages here:
# https://github.com/travis-ci/apt-package-whitelist/blob/master/ubuntu-precise
# - wkhtmltopdf # only add if needed and check the before_install section below
# set up an X server to run wkhtmltopdf.
#before_install:
# - "export DISPLAY=:99.0"
# - "sh -e /etc/init.d/xvfb start"
env:
global:
- VERSION="8.0" TESTS="0" LINT_CHECK="0" TRANSIFEX="0"
- TRANSIFEX_USER='jjscarafia'
# to get secure, run 'travis encrypt TRANSIFEX_PASSWORD=[transifex_password] -r [github_repo]'
# example of github repo 'ingadhoc/odoo-infrastructure'
- secure: HFKKfi/O49jx55CDVi2lcZMlbgpATZTs3VTd01hwle82RAjnTfFA2x//hHwxBkpM6jiZckXU5nIHzOu3Lx2ZR5cYS1RMVYT/hUcJHgo0cy6LYsDpJxRYKtfuY0SZs2vHBkfLAG521IsANfIVkWHJdYw24TOXgCm22pTXACRgOYm3BNH0oasbTt1OA0GfFLfdxJ5N5aBSSYn5at9Rg14T55HrhIHZw8W2aEWvUvpeWfkY48hFQ4e3r1kpD6nhNPzqQZUQ7Am3mOKISNQamQpIDlTftc928m4RhG1fDqY9OYTGv1quEJy6eP4ec+0tzwbqYJaxNTyf/5/FactsREGbhNfeqx2x+buCSb1iAC59Hfz9wB072rDkosNs2HcasmEyi410loYcEPEWPE/op9GbTGLh+LF88Imt4+dtqBntPyJOBK0rUUFGQI/ixlzy88kAv38pBUgLtxKwsgyiuNcqeblWQgViwvjbZVQNZIhiVdw7wZFoM3LrrQr+tZq0zLKFk6DLRz7xMvvWKZUALqMZR9r0TjPuel7aQTEaNUWRAF8DCrSxUlFG5NJBt/kvYStnR3TSjov2RR37H+L3dpq678i7BYKk8KfbQ9G2Gt1aYPjwjxnoQbFq+j9IVt0+pjWAu/HfB1qu9fpE6Ya+gp6Uh4W2BUW+f3FLkr8d2h41IcI=
- TRANSIFEX_ORGANIZATION='adhoc'
- TRANSIFEX_TEAM='46451'
matrix:
# TODO enable lint check
#- LINT_CHECK="1"
- TRANSIFEX="1"
- TESTS="1" ODOO_REPO="odoo/odoo"
# either use the two lines above or the two below. Don't change the default if
# it's not necessary (it is only necessary if modules in your repository can't
# be installed in the same database. And you get a huge speed penalty in your
# tests)
# - TESTS="1.0" ODOO_REPO="odoo/odoo" UNIT_TEST="1"
# - TESTS="1.0" ODOO_REPO="OCA/OCB" UNIT_TEST="1"
virtualenv:
system_site_packages: true
install:
# aeroo reports because this repo depends of reporting and reporting from aeroo
- pip install git+https://github.com/aeroo/aeroolib.git@master pycups==1.9.68
# repository requirements
- pip install -r requirements.txt
# odoo argentina
- pip install geopy==0.95.1 BeautifulSoup #because l10n_ar_states is installed
- pip install pyOpenSSL suds m2crypto cryptography pysimplesoap fpdf dbf Pillow
- pip install pyafipws
- 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:
- travis_after_tests_success