This repository has been archived by the owner on Aug 21, 2020. It is now read-only.
forked from ingadhoc/account-payment
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
68 lines (59 loc) · 3.04 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
language: python
sudo: false
cache:
apt: true
directories:
- $HOME/.cache/pip
python:
- "3.5"
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
# 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=:911.0"
# - "sh -e /etc/init.d/xvfb start"
env:
global:
- VERSION="11.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: QlyEQP8k6V06doTH/H3h7WQiQbybThKy9Gs/OMr85juLKsYko7Ksx9IQgXw1Af0pt6gBTQFuEThY/OsCrcuxy38o/AB0ZYWMqcJdGRb2PMY3FOinNwJD6Mwtn0Cc63MHsRiUWGh6m+zK5coqdMZzNWJ8iLD4gXNGBTRaz4Ka7g4EW888VLDp7MBiFvw2kTjM47HAPM9L/RQU9DjTWAN59TglnShCxj3LlIjIaZwmZJQSoFhXVfGf9buY8Slyzzy81NP6UWMSfHnlrzlem4NffGRC4Jccr8pykVZB+KnEllRjR0GB1b9ZEccTjgAztkBrg35KLnE5Es+EaOdv0/iGEH0+YzLZRx0ZrBUyrAS+xu3X8kUAGs9HY7Ry6wZPslRZu90s1Is7DVr8IAmM/BhctenG/XKFZxR7Dsw5j/nRt7+mzIirPt4PSH5fDHXCuT9gz2wvNPiP7vfaR8P81Q04DroC+3NYH1rZbu9GNc1338mzQTMjYIMx1S0SDQwKl8KapX+1oINxKTfSe+uDrkmPeU5OucuCNoEXKK/GISdyKjh+AXm5rdClHJvweVeJqA4s+xbp2ap/J7pEAtGrhgzHg9OvKN9eLqE2v/QSOH0AtGI+XnT+niJXx6QmFOcsPS7w5EZVqKNDCNfpaz0XVAWJfFjefteiktIn9BHCY5Ydg3Q=
- TRANSIFEX_ORGANIZATION='adhoc'
- TRANSIFEX_TEAM='46451'
matrix:
- 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="OCA/OCB" UNIT_TEST="1"
# - TESTS="1.0" ODOO_REPO="odoo/odoo" UNIT_TEST="1"
install:
- git clone --depth=1 https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools
- sed -i 's/manifest_required_author\=.*/manifest_required_author="ADHOC SA"/g' ${HOME}/maintainer-quality-tools/travis/cfg/travis_run_pylint_pr.cfg
- export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}
- travis_install_nightly
script:
- travis_run_tests
after_success:
# enable aeroo docs conversion
- if [[ "${OCA_RUNBOT}" == "1" ]]; then psql openerp_test -c "INSERT INTO ir_config_parameter (key, value) VALUES ('aeroo.docs_host', 'runbot.adhoc.com.ar'), ('aeroo.docs_port', '8989'), ('aeroo.docs_enabled', 'True')"; fi
- travis_after_tests_success