forked from Vauxoo/odoo-ifrs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
58 lines (48 loc) · 1.38 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
language: python
python:
- "2.7"
sudo: false
cache:
apt: true
directories:
- $HOME/.cache/pip
virtualenv:
system_site_packages: true
addons:
apt:
sources:
- pov-wkhtmltopdf
packages:
- expect-dev
- python-lxml
- python-simplejson
- python-yaml
- wkhtmltopdf
- poppler-utils
- antiword
- python-beautifulsoup
- python-tz
- libgnutls26
# set up an X server to run wkhtmltopdf.
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
env:
global:
- TEST_OTHER_PROJECTS=${HOME}/addons-vauxoo LINT_CHECK=0 TESTS="0" VERSION="8.0" ODOO_REPO="vauxoo/odoo"
- secure: "EG6TofH3CiZKZmSHLDOHsMVSbYYMSXUO2XewjlWGgnqYsFkfpzos5d/0f6Yoty30pJkEj67SA1u9UJk9EDAxJSIpWcho18cmCSIOvaJfge58yhB/YbHUDRBy2rT47ertlrgc1vodfPXHi+Q30O3pxTwlZibGhL6tt694ce39rpE="
matrix:
- LINT_CHECK=1
- TESTS="1"
- TRANSIFEX="1" INCLUDE=""
install:
- git clone --single-branch --depth=1 https://github.com/Vauxoo/maintainer-quality-tools.git -b master ${HOME}/maintainer-quality-tools
- git clone --single-branch --depth=1 https://github.com/Vauxoo/addons-vauxoo.git -b ${VERSION} ${HOME}/addons-vauxoo
- export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}
- travis_install_nightly
- pip install beautifulsoup4
- pip install xlrd
script:
- travis_run_tests
after_success:
- travis_after_tests_success