forked from Tecnativa/doodba-scaffolding
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
48 lines (40 loc) · 869 Bytes
/
.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
sudo: required
language: python
python:
- "3.6"
services:
- docker
git:
depth: 1
branches:
only:
- master
env:
global:
matrix:
- ODOO_MAJOR=8 ODOO_MINOR=8.0
- ODOO_MAJOR=9 ODOO_MINOR=9.0
- ODOO_MAJOR=10 ODOO_MINOR=10.0
- ODOO_MAJOR=11 ODOO_MINOR=11.0
- ODOO_MAJOR=12 ODOO_MINOR=12.0
before_install:
- sudo apt-get -y -o Dpkg::Options::=--force-confnew install docker-ce
script:
- qa="docker container run
--rm -it --privileged -v $PWD:$PWD:z
-v /var/run/docker.sock:/var/run/docker.sock:z
-w $PWD
-e ADDON_CATEGORIES=-p
-e COMPOSE_FILE=test.yaml
-e ODOO_MAJOR=$ODOO_MAJOR
-e ODOO_MINOR=$ODOO_MINOR
tecnativa/doodba-qa"
- $qa secrets-setup
- $qa networks-autocreate
- $qa build
- $qa closed-prs
- $qa flake8
- $qa pylint
- $qa addons-install
- $qa coverage
- $qa shutdown