forked from OCA/website
-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
46 lines (37 loc) · 1.24 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
sudo: false
cache: pip
addons:
postgresql: "9.6"
apt:
packages:
- expect-dev # provides unbuffer utility
language: python
python:
- "2.7"
env:
global:
- VERSION="8.0" TESTS="0" LINT_CHECK="0" MAKEPOT="0"
- WKHTMLTOPDF_VERSION="0.12.1"
- WEBSITE_REPO="1"
matrix:
- LINT_CHECK="1"
- TESTS="1" ODOO_REPO="odoo/odoo" MAKEPOT="1"
- TESTS="1" ODOO_REPO="OCA/OCB"
- TESTS="1" ODOO_REPO="odoo/odoo" INCLUDE="website_signup_legal_page_required" MAKEPOT="1"
- TESTS="1" ODOO_REPO="OCA/OCB" INCLUDE="website_signup_legal_page_required"
# Module website_seo_redirection intercepts any HTTP request, so if you see
# some abnormal behavior in your controllers and suspect this is the guilty
# module, just enable these 2 lines below to check that.
# - TESTS="1" ODOO_REPO="odoo/odoo" EXCLUDE="website_seo_redirection"
# - TESTS="1" ODOO_REPO="OCA/OCB" EXCLUDE="website_seo_redirection"
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}
- travis_install_nightly
- pip install ipwhois
script:
- travis_run_tests
after_success:
- travis_after_tests_success