forked from akretion/storage-deprecated-moved-to-oca
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
45 lines (34 loc) · 1.07 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
language: python
sudo: required
cache: pip
python:
- "3.5"
services:
- docker
addons:
apt:
packages:
- expect-dev # provides unbuffer utility
- python-lxml # because pip installation is slow
env:
global:
- VERSION="11.0" TESTS="1" LINT_CHECK="0"
matrix:
- TESTS="0" LINT_CHECK="1"
- ODOO_REPO="OCA/OCB"
- UNIT_TEST="1" ODOO_REPO="OCA/OCB"
# - UNIT_TEST="1" ODOO_REPO="odoo/odoo"
before_install:
- docker run -p 2222:22 -d atmoz/sftp:alpine foo:pass:::upload
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
- printf '[options]\n\nrunning_env = dev\nkeychain_key_dev = HRdthrkXp28SCHX0kmwOgIob-82N-w8zWoE_UsctE7E=' > ${HOME}/.openerp_serverrc
- git clone https://github.com/akretion/akretion-quality-tools ${HOME}/akretion-quality-tools
- export PATH=${HOME}/akretion-quality-tools/travis:${PATH}
- travis_configure
script:
- travis_run_tests
after_success:
- travis_after_tests_success