forked from open-synergy/brd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
66 lines (57 loc) · 2.48 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
59
60
61
62
63
64
65
66
language: python
sudo: true
cache:
apt: true
directories:
- $HOME/.cache/pip
python:
- "2.7"
addons:
apt:
packages:
- expect-dev # provides unbuffer utility
- python-lxml # because pip installation is slow
- python-simplejson
- python-serial
- python-yaml
- python-cairo
env:
global:
- VERSION="8.0" TESTS="0" LINT_CHECK="0" TRANSIFEX="0"
matrix:
- LINT_CHECK="1"
- TESTS="1" ODOO_REPO="odoo/odoo"
- TESTS="1" ODOO_REPO="OCA/OCB"
virtualenv:
system_site_packages: true
before_install:
# - if [[ ${TESTS} == "1" ]]; then sudo add-apt-repository -y ppa:libreoffice/ppa; fi
- if [[ ${TESTS} == "1" ]]; then sudo apt-get -qy update; fi
install:
- if [[ ${TESTS} == "1" ]]; then sudo apt-get -qy install libreoffice; fi
- if [[ ${TESTS} == "1" ]]; then sudo apt-get -qy install python-genshi; fi
- if [[ ${TESTS} == "1" ]]; then sudo apt-get -qy install python-cairo; fi
- if [[ ${TESTS} == "1" ]]; then sudo apt-get -qy install python-uno; fi
- if [[ ${TESTS} == "1" ]]; then sudo apt-get -qy install python-cups; fi
- if [[ ${TESTS} == "1" ]]; then sudo apt-get -qy install python-openoffice; fi
# - if [[ ${TESTS} == "1" ]]; then sudo apt-get -qy install libreoffice-script-provider-python; fi
- if [[ ${TESTS} == "1" ]]; then pip install git+https://github.com/aeroo/aeroolib.git@master; fi
# - if [[ ${TESTS} == "1" ]]; then cd aeroolib; fi
# - if [[ ${TESTS} == "1" ]]; then sudo python ./setup.py install; fi
# - if [[ ${TESTS} == "1" ]]; then sudo apt-get -qy install python3-setuptools; fi
# - if [[ ${TESTS} == "1" ]]; then sudo easy_install3 pip; fi
# - if [[ ${TESTS} == "1" ]]; then sudo pip3 install jsonrpc2 daemonize; fi
# - if [[ ${TESTS} == "1" ]]; then cd ..; fi
# - if [[ ${TESTS} == "1" ]]; then git clone https://github.com/aeroo/aeroo_docs.git; fi
# - if [[ ${TESTS} == "1" ]]; then cd aeroo_docs; fi
# - if [[ ${TESTS} == "1" ]]; then sudo python3 aeroo-docs start -c /etc/aeroo-docs.conf; fi
# - if [[ ${TESTS} == "1" ]]; then ln -s ${PWD}/aeroo-docs /etc/init.d/aeroo-docs; fi
# - if [[ ${TESTS} == "1" ]]; then sudo update-rc.d aeroo-docs defaults; fi
# - if [[ ${TESTS} == "1" ]]; then sudo service aeroo-docs start; fi
- git clone --depth=1 https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools
- export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}
- travis_install_nightly
script:
- travis_run_tests
after_success:
- travis_after_tests_success