Skip to content

Commit ae8b0fd

Browse files
author
litnimax
committed
Added travis file
1 parent 330b54d commit ae8b0fd

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

.travis.yml

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
language: python
2+
sudo: false
3+
cache:
4+
apt: true
5+
directories:
6+
- $HOME/.cache/pip
7+
8+
python:
9+
- "2.7"
10+
11+
addons:
12+
apt:
13+
packages:
14+
- expect-dev # provides unbuffer utility
15+
- python-lxml # because pip installation is slow
16+
- python-simplejson
17+
- python-serial
18+
- python-yaml
19+
20+
env:
21+
global:
22+
- VERSION="10.0" TESTS="0" LINT_CHECK="0"
23+
- TRAVIS_BUILD_DIR="/home/odoo/build/ygol/odoo_asterisk/odoo-addons"
24+
25+
matrix:
26+
- LINT_CHECK="1"
27+
- TESTS="1" ODOO_REPO="odoo/odoo"
28+
- TESTS="1" ODOO_REPO="OCA/OCB"
29+
30+
virtualenv:
31+
system_site_packages: true
32+
33+
install:
34+
- git clone --depth=1 https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools
35+
- export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}
36+
- travis_install_nightly
37+
- pip install humanize git+https://github.com/litnimax/PyAjam.git requests
38+
- pip install gevent git+https://github.com/digium/swagger-py.git ari odoorpc py-Asterisk requests setproctitle
39+
40+
before_script:
41+
- python ${HOME}/../services/stasis_app.py
42+
- python ${HOME}/../services/ami_broker.py
43+
44+
script:
45+
- travis_run_tests
46+
47+
after_success:
48+
- travis_after_tests_success

0 commit comments

Comments
 (0)