forked from OCA/l10n-brazil
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
42 lines (33 loc) · 1.01 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
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:
- VERSION="10.0" ODOO_REPO="odoo-brazil/odoo" LINT_CHECK="0" TESTS=1
- VERSION="10.0" LINT_CHECK="1"
virtualenv:
system_site_packages: true
install:
- git clone https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools
- export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}
- pip install -r requirements.txt
- pip install https://github.com/odoo-brazil/pybrasil/archive/master.zip
- pip install https://github.com/odoo-brazil/geraldo/archive/master.zip
- pip install https://github.com/odoo-brazil/PySPED/archive/master.zip
- travis_install_nightly
- pip install -r requirements.txt
before_script:
- chmod +x configure_locale.sh
script:
- sudo ./configure_locale.sh
- travis_run_tests
after_success:
coveralls