-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy path.travis.yml
77 lines (68 loc) · 3.06 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
language: python
sudo: false
cache:
apt: true
directories:
- $HOME/.cache/pip
python:
- "3.6"
addons:
postgresql: "9.6"
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
- cups # for google clour print
- libcups2-dev # for google clour print
# 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=:913.0"
# - "sh -e /etc/init.d/xvfb start"
env:
global:
- VERSION="13.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: lsVzJGzxk1y8LfFd4Lp5YdyOw2PZs9+gT69Mro7HmwJQYvgXRuYBUKil7WEvtLKMh6M3uEk5qjupMswucbnlk6cEbaQ55sQvScQBhUgMZONEPWvKpKu4yQNli5YO+KtsIURtWY+t1mtKC9+XbMqFQSkDU7gf/1ajBT0ZyBOUJCugiufBC1TmzrZrdcRB/yNaZM0IvVNgDenVNpBsmCN4qI2oC/hCKDAAP2msovu8h/LbKqSM/0PI8qYEtSnSW8wEyF+/wdxlscq5Yaj3Zmh0pr+5r2uImOWiccKOCbuKwmpg4yq/C6Zgl+fJhSoNCp+aDPH8imZz4ddiYhxjatsVE/dskIsP3yPBLrgCmjoOQZ9PIhiJII+cOfwYbGqcQaV3BvfBn2SVKXkSGNbajptgw6PGGu/a3R0HvQYR9nYDCqfS9mPdXtXbf2YtKSG3z9UBF2+Q6RKH1mf8nKOU5LkyUGUpfDJvAzU79lqu6BQYG2a84eI/qbNtFDoGXUEZbJl6+paHgG7EbRkYXZHZdM5kf6bbF1ubyveWYOQmGiITCs0VxblFTozUdHu9Fny+wRjhcDfnUlY2/yuO7kzWYUybpcjrUpeIdD+HkJetOTQiu+BwEVnEbCz/ncD4sIMTE+7WdPn3tloqNjq3ElZTJiWe+B8f2xcu3T2Qo7Tj3vccUds=
- 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/ingadhoc/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools
- export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}
- travis_install_nightly
# - pip install pycups==1.9.66
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