forked from OCA/connector-magento
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
53 lines (44 loc) · 1.73 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
sudo: false
addons:
apt:
packages:
- expect-dev # provides unbuffer utility
- python-lxml # because pip installation is slow
language: python
python:
- "2.7"
cache:
- pip
- apt
env:
matrix:
- LINT_CHECK="1"
- ODOO_REPO="odoo/odoo" TESTS="1"
- ODOO_REPO="OCA/OCB" TESTS="1"
- TRANSIFEX="1" TRANSIFEX_USER='[email protected]'
- DOCS="1"
global:
- VERSION="9.0" TESTS="0" LINT_CHECK="0" TRANSIFEX="0" DOCS="0"
# Token for Travis docs builds generated with:
# $ travis encrypt GH_TOKEN=xxxxxxx -r OCA/connector-magento
# Where xxxxxxx is the GitHub token which needs only the 'public_repo'
# right.
- secure: "TnjU16HLTgYnFbz1HFh+neF1aIcIMXI5ScRffBbLjWMuycNqyuCBTHzpvdxp/Q61gij+3gbCGkwLkyzNncF66KryFUonPGSu+Wx4WMzp0LJDjoYdeDTlzGBF76W3WKfw0irg9m3zJAGK0X7Uu8Wr5nTRpxkc/8ymA8QC4uEr1Gs="
# transifex
- secure: "Xz7T0VxkKKDcVNNMc12G9ovclcJGsXvF302B+16HDR90AT9yWjI3KX26kotsYes/7GB+sFLSdBKQ5n+WzMRqPo0AlKSQYl25Srf9UOH9BZQp2G9/U25y1olQiwY08x3EX98/ErHD+lh9ZnIglpLJ2MAwNiJ8ahKdfc19xlYIYo0="
virtualenv:
system_site_packages: true
install:
- git clone --depth=1 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 magento
- pip install beautifulsoup4
- pip install sphinx sphinx_bootstrap_theme sphinx-intl odoo-sphinx-autodoc
- printf '[options]\n\nrunning_env = dev' > ${HOME}/.openerp_serverrc
script:
- if [ "$DOCS" != "1" ] ; then travis_run_tests; fi
- if [ "$DOCS" == "1" ] ; then ./.travis_build_doc; fi
after_success:
- if [ "$DOCS" != "1" ] ; then travis_after_test_success; fi
- if [ "$DOCS" == "1" ] ; then ./.travis_push_doc; fi