forked from ingadhoc/project
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
64 lines (55 loc) · 2.55 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
55
56
57
58
59
60
61
62
63
64
language: python
sudo: false
cache:
apt: true
directories:
- $HOME/.cache/pip
python:
- "3.5"
addons:
apt:
# only add the two lines below if you need wkhtmltopdf for your tests
# sources:
# - pov-wkhtmltopdf
# Search your sources alias here:
# https://github.com/travis-ci/apt-source-whitelist/blob/master/ubuntu.json
packages:
- expect-dev # provides unbuffer utility
- python-lxml # because pip installation is slow
- python-simplejson
- python-serial
- python-yaml
# Search your packages here:
# https://github.com/travis-ci/apt-package-whitelist/blob/master/ubuntu-precise
# - wkhtmltopdf # only add if needed and check the before_install section below
# set up an X server to run wkhtmltopdf.
#before_install:
# - "export DISPLAY=:911.0"
# - "sh -e /etc/init.d/xvfb start"
env:
global:
- VERSION="11.0" TESTS="0" LINT_CHECK="0" TRANSIFEX="0"
- TRANSIFEX_USER='jjscarafia'
# to get secure, run 'travis encrypt TRANSIFEX_PASSWORD=[transifex_password] -r [github_repo]'
# example of github repo 'ingadhoc/odoo-infrastructure'
- secure: l4AeAibNhst8qLLasjTm9kHcbVhxHuSVYgj2pq7m+2XYQEDwxbGxkaBODnKoEBmTnlXF/bwpUWqj8WOS7Tf08LQeMXVFvjNdnC1jWy0ywgc7IqwRowaTzeORYescVzLz2dn6TRTmglQxdteuWPek4PJHCHXfAAHRjsl51C9OjlfoTqy18eqLCTnIA298Cbm35koDbtmN1YApMtbzDAOg8UkYFgIBJzsYtbUc+Cokeb/Q7FvOd1G2ehYjLXcqjqrIz3ojP7z8EgqRHnJrUkHQJePmokhGo1mWqiGMc9TTzOq0PhHJZvnvHf+Gi0jVpNDMFH0TktzI7NjDYFVRR+BL9+wKNB6YSAdyCZGH1SsvgoT1Cmfu3U5gRBYPUEIjF3rzzlwCXaUFUQOgexDQt5KI9N6Uvv+gDSfs0hLTtHYPG59TiVcHEwm6HC9kXc12QUBnxEfYpCzCIOslc74dnHrNMlNLdnT0n8XDnzWNAQNelBcvW1X1n5jjO2GUpbnfp1lbHWpew+xR9BgtEjVB+OndWGp03GnalvJGztZkOgvEJSbv4Y8AP5YkJCqnxO15FGff0ruMeT+Fi20CN7oqmdzS9c+/+PMxoEfzlh+uKfpEk3uhzdPcMLmV+sKhf8U4hUtfo3qwu/+vv22rhAB15d2XTxfJf2n8G1oZtqsUhb9PpX4=
- TRANSIFEX_ORGANIZATION='adhoc'
- TRANSIFEX_TEAM='46451'
matrix:
- LINT_CHECK="1"
- TRANSIFEX="1"
- TESTS="1" ODOO_REPO="odoo/odoo"
# either use the two lines above or the two below. Don't change the default if
# it's not necessary (it is only necessary if modules in your repository can't
# be installed in the same database. And you get a huge speed penalty in your
# tests)
# - TESTS="1.0" ODOO_REPO="OCA/OCB" UNIT_TEST="1"
# - TESTS="1.0" ODOO_REPO="odoo/odoo" UNIT_TEST="1"
install:
- git clone --depth=1 https://github.com/ingadhoc/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