-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
72 lines (72 loc) · 1.89 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
65
66
67
68
69
70
71
72
language: python
cache:
directories:
- "$HOME/.cache/pip"
- "$HOME/.cache/pre-commit"
addons:
postgresql: '9.6'
stages:
- name: linting
- name: test
- name: deploy
if: tag IS present
python:
- 2.7
- 3.5
- 3.6
env:
matrix:
- ODOO="8.0"
- ODOO="9.0"
- ODOO="10.0"
- ODOO="11.0"
- ODOO="12.0"
- ODOO="master"
matrix:
exclude:
- env: ODOO="8.0"
python: 3.5
- env: ODOO="8.0"
python: 3.6
- env: ODOO="9.0"
python: 3.5
- env: ODOO="9.0"
python: 3.6
- env: ODOO="10.0"
python: 3.5
- env: ODOO="10.0"
python: 3.6
- env: ODOO="11.0"
python: 2.7
- env: ODOO="12.0"
python: 2.7
- env: ODOO="master"
python: 2.7
install:
- pip install tox-travis
- pip install codecov
- pip install pyyaml==3.12
script:
- tox
after_success:
- codecov
jobs:
include:
- stage: linting
python: 3.6
env: TOXENV=pre-commit
- stage: linting
python: 3.6
env: TOXENV=check-readme
- stage: deploy
python: 3.6
deploy:
provider: pypi
distributions: sdist bdist_wheel
user: xoe-labs
password:
secure: "Tt4THeTjPG3imxXeoA+HKs5jpMvtT3zSlGUEY5KBGc8wod/BLDPzyNtdEfOpho2SVj6Mc4VxdyzVqQZyqfcpNUOMTXIkV12ZlW/JFUpg1XGOVwVBhJyJswcZZ1zKtizvFumJ8WnF159qfDhx5WVGabTz6Ls6dr1hmmxisD26h1FhhRuR1Y28BEuQbgJsqcVvIJyLbzmuHjD9XoHIZB9s9H+yPkXj+V3tC1Dom5F/giSaW7C2fK34bvgiAqlXbKU99R+8lFUMjvRB2v5XI+JoWj2SQKl5mj5YFA7K3IHFcHQ4Qe2gBJWccKbj+RjKfu0cvhPnZZudzGB+z1AX477h6E31mSvkeG2ISWTAYtML7hKENszjh40/xLeOWuqcB+lHATNo1LWZ3pY8ogEB8u5nqJPx7reEPpGirVuu0v5y2+VPTeG9SVrul4nJEc3sRt+dzfZi4GR/WvaxOip4rCvZNqK7qbd6OdvjCII7KtlrrfTMCSimprjuN7au3yYp+SOlEAT2X8CBXRWuqMqSjjUSBDF9k1UucPNTJlpntVatpm9BpEJHQikLRsJZT3BhVPqXhYswfHgwfirirWO6lIp7y3BRSPMGeG44HbeUOrfofG6ievo8rj2PpZfVoGIujECJFGMbxd4K9CW85lAtZry6/bm9yiKrQ9hkcWInBbBom3U="
skip_upload_docs: true
on:
repo: xoe-labs/dodoo-migrator
tags: true