forked from OCA/l10n-brazil
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
50 lines (40 loc) · 1.25 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
language: python
python:
- "2.7"
cache: pip
addons:
apt:
packages:
- expect-dev # provides unbuffer utility
- python-lxml # because pip installation is slow
- libxml2-dev
- libxmlsec1-dev
- libxslt-dev
env:
global:
- VERSION="8.0" TESTS="0" LINT_CHECK="0" DOC="0"
matrix:
- LINT_CHECK="1"
- TESTS="1" ODOO_REPO="odoo/odoo"
- TESTS="1" ODOO_REPO="OCA/OCB"
- DOC="1"
virtualenv:
system_site_packages: true
install:
- git clone https://github.com/kmee/maintainer-quality-tools.git -b feature/sphinix-github-pages ${HOME}/maintainer-quality-tools
- export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}
- travis_install_nightly
- pip install reportlab
- pip install unidecode
- pip install suds
- pip install http://xmlsoft.org/sources/python/libxml2-python-2.6.21.tar.gz
- pip install https://github.com/odoo-brazil/pyxmlsec/archive/master.zip
- pip install https://github.com/odoo-brazil/geraldo/archive/master.zip
- pip install https://github.com/odoo-brazil/PySPED/archive/8.0.zip --allow-external PyXMLSec --allow-insecure PyXMLSec
before_script:
- chmod +x configure_locale.sh
script:
- sudo ./configure_locale.sh
- travis_run_tests
after_success:
- travis_after_tests_success