-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
51 lines (39 loc) · 975 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" ODOO_TEST="1" ROBOT="1" DOC="1"
virtualenv:
system_site_packages: true
before_install:
- wget http://chromedriver.storage.googleapis.com/2.21/chromedriver_linux64.zip
- unzip chromedriver_linux64.zip
- sudo chmod u+x chromedriver
- sudo mv chromedriver /usr/bin/
- export CHROME_BIN=chromium-browser
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3
- ./travis_before_install
install:
- ./travis_install
script:
- ./travis_run_script
- bin/sphinx-build -b html docs/source target/doc/build
after_success:
- bin/travis-sphinx deploy