-
Notifications
You must be signed in to change notification settings - Fork 21
/
.travis.yml
57 lines (48 loc) · 1.18 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
language: python
sudo: false
cache:
apt: true
directories:
- $HOME/.pip-cache/
addons:
apt:
sources:
- pov-wkhtmltopdf
packages:
- expect-dev
- python-lxml
- python-simplejson
- python-yaml
- wkhtmltopdf
- swig # Required for m2crypto
- python-m2crypto
- xmlstarlet
- xsltproc
- xmlstarlet
- openssl
- poppler-utils
- antiword
- python-libxml2
# set up an X server to run wkhtmltopdf.
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
python:
- "2.7"
env:
global:
- TEST_OTHER_PROJECTS=${HOME}/addons-vauxoo LINT_CHECK=0 TESTS="0" VERSION="8.0" ODOO_REPO="vauxoo/odoo" INCLUDE="ovl"
matrix:
- LINT_CHECK=1
- TESTS="1"
virtualenv:
system_site_packages: true
install:
- git clone --single-branch --depth=1 https://github.com/vauxoo/maintainer-quality-tools.git -b master ${HOME}/maintainer-quality-tools
- export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}
- travis_install_nightly
- ${TRAVIS_BUILD_DIR}/travis/travis_install_ve_nightly ${VERSION}
script:
- travis_wait travis_run_tests
after_success:
- travis_after_tests_success