-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.travis.yml
51 lines (43 loc) · 936 Bytes
/
.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
language: python
sudo: false
cache:
apt: true
directories:
- $HOME/.cache/pip
python:
- "2.7"
virtualenv:
system_site_packages: true
services:
- postgresql
addons:
apt:
packages:
- expect-dev # provides unbuffer utility
- python-lxml # because pip installation is slow
- python-simplejson
- python-serial
- python-yaml
- python-pychart
- pdftk
- imagemagick
- wkhtmltopdf
- ttf-dejavu
env:
global:
- ODOO_VERSION="8.0"
matrix:
- ODOO_VERSION="8.0"
- ODOO_VERSION="7.0"
# set up an X server to run wkhtmltopdf.
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
install:
- compare -version
- python bootstrap.py
- bin/buildout -c buildout.v${ODOO_VERSION}.cfg
- createdb ort
- bin/start_odoo -d ort --stop-after-init -i base
script:
- bin/nosetests -d ort -- -s -v odoo_report_testing/tests/