forked from it-projects-llc/saas-addons
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
54 lines (45 loc) · 1.2 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
language: python
python:
- "3.6"
sudo: false
cache:
apt: true
directories:
- $HOME/.cache/pip
addons:
postgresql: "9.6"
apt:
packages:
- expect-dev
- python-lxml
- python-simplejson
- python-serial
- python-yaml
env:
global:
- VERSION="14.0" TESTS="0" LINT_CHECK="0" UNIT_TEST="0"
- OPTIONS="--log-db=openerp_test --load=web,queue_job"
- PYLINT_ODOO_JSLINTRC="/home/travis/maintainer-quality-tools/travis/cfg/.jslintrc"
- DISABLE_PYLINT='absent-index-html,manifest-image,manifest-name'
- EXCLUDE='test_remote_saas,test_remote_saas_domain_names'
matrix:
- LINT_CHECK="1"
- CHECK_TAGS="1"
- MAKEPOT="1"
- TESTS="1" ODOO_REPO="odoo/odoo"
- TESTS="1" ODOO_REPO="OCA/OCB"
install:
- pip install anybox.testing.openerp
- git clone -b saas https://github.com/em230418/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
notifications:
email: false
webhooks:
on_failure: change
urls:
- "https://ci.it-projects.info/travis/on_failure/change"