-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
85 lines (76 loc) · 3.31 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
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
# 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="9.0" TESTS="0" LINT_CHECK="0" TRANSIFEX="0"
- TRANSIFEX_USER='jjscarafia'
# This line contains the encrypted transifex password
# To encrypt transifex password, install travis ruby utils with:
# $ gem install travis --user-install
# and use:
# $ travis encrypt TRANSIFEX_PASSWORD=your-password -r owner/project
- secure: Bpz07pxQRfbc5uKzs0en4px536TXrGO8CwBJqBJW2LmtaJYRQ+bpvPIxk/5DpaMMi7qzrGuZ4DMzPOr+neN+lHArxG5B6gQlEgQqu/wQCIzkgewuNSZoV8Sa4ecrA8/eSx9/tEBUxYek79CtL8glvx0T7YzpraTtvyKtcjp6ZbHEV7RaVBTZWMPDXXhVkK5QUugyMt3BA0irLUvvIcUp87bJhP3qyQr/MHk0E5+n/s5nuvni2rDnNH2V0ACrz1kztjEL7vBd2ckjyHtXhdj+Un81CBOfZG26e0jVsyI0PmILcGnpeLkkzkNRJI9ec1yfKrVsm0l0mC6S5zpLBYUoeXzEPa+uiDiEMyV2cgAszN1tKJ6ZRcm4kcre0Z+EW/ar5Tlg0PW5/igH0q9Hxx8RJwE2bA+sTUGNmBSM0IPoqf7FjlSxAV/xjo7LmetKFfUgewkxwiVxgyYdE4fyg8ftHBz6cEKRzw8QK9jCuhXZdvjttX7MQkLtj79CEd0rzgE2GF0/WXEt2HEfAvrg5KPHOFQhIkeC8S4nzbMcdJJY6MYymmOhjRQEbZfK1Ptjwb+wT+a63yh9A/Rx6SrpBk/EPf/pSv2rHJD3p6SHi6MWiw7K+VGyejEMQWMolgzI8XwrEbBX8jkKvOqHjLRA2PEUnFy50J9Zt1Ri2sA8umP3fUY=
# Use the following lines if you need to manually change the transifex project slug or/and the transifex organization.
# The default project slug is owner-repo_name-version (with dash in the version string).
# The default organization is the owner of the repo.
# The default fill up resources (TM) is True.
# The default team is 23907. https://www.transifex.com/organization/oca/team/23907/
# - TRANSIFEX_PROJECT_SLUG=
- TRANSIFEX_ORGANIZATION='odoo-argentina'
# - TRANSIFEX_FILL_UP_RESOURCES=
- TRANSIFEX_TEAM='58916'
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="odoo/odoo" UNIT_TEST="1"
virtualenv:
system_site_packages: true
install:
- git clone --depth=1 https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools
# repository requirements
- pip install -r requirements.txt
- pip install -r requirements2.txt
- export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}
- travis_install_nightly
script:
- travis_run_tests
after_success:
- travis_after_tests_success