-
Notifications
You must be signed in to change notification settings - Fork 22
/
.travis.yml
49 lines (39 loc) · 1021 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
language: python
dist: trusty
python:
- "2.7"
sudo: required
cache:
pip: true
directories:
- $HOME/buildout-cache
addons:
apt:
packages:
- expect-dev # provides unbuffer utility
- python-lxml # because pip installation is slow
- libappindicator1
- fonts-liberation
- chromium-browser
- chromium-chromedriver
env:
- VERSION="9.0" DOC="0" ROBOT="0"
- VERSION="9.0" DOC="1" ROBOT="0"
- VERSION="9.0" DOC="0" ROBOT="1"
virtualenv:
system_site_packages: true
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 5
- git clone https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools
- export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}
- ./travis_install_buildout
install:
- bin/buildout -N -t 20
script:
- ./travis_run_script
after_success:
- bin/start_openerp &
- bin/pybot -v CONFIG:config_80.py robot/sale_stock_invoice_workflow.robot
- bin/travis-sphinx deploy