forked from Vauxoo/asdcust
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
49 lines (42 loc) · 1 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
language: python
sudo: false
cache:
apt: true
directories:
- $HOME/.cache/pip
addons:
apt:
packages:
- expect-dev
- python-lxml
- python-simplejson
- python-yaml
- swig # Required for m2crypto
- python-m2crypto
- xmlstarlet
- xsltproc
- xmlstarlet
- openssl
- poppler-utils
- antiword
python:
- "2.7"
env:
global:
- LINT_CHECK="0" TESTS="0"
- VERSION="10.0" ODOO_REPO="vauxoo/odoo"
- INCLUDE="asdcust"
matrix:
- LINT_CHECK="1"
- TESTS="1"
virtualenv:
system_site_packages: true
install:
- git clone --single-branch --depth=1 https://github.com/vauxoo/maintainer-quality-tools.git -b master ${HOME}/maintainer-quality-tools
- export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}
- if [[ "${ENTERPRISE}" == "1" ]]; then git clone [email protected]:Vauxoo/enterprise.git -b $VERSION ${HOME}/enterprise; fi
- travis_install_nightly
script:
- travis_run_tests
after_success:
- travis_after_tests_success