-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.travis.yml
56 lines (56 loc) · 2.32 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
---
dist: focal
language: python
os: linux
python: "3.9"
services:
- docker
before_install:
- echo '{"default-cgroupns-mode":"host"}' | sudo tee /etc/docker/daemon.json
- sudo systemctl restart docker
install:
- pip install pipenv
- pipenv sync
env:
jobs:
- DOCKER_BASE_IMAGE=debian:bookworm-slim PG_MAJOR_RELEASE=16
- DOCKER_BASE_IMAGE=debian:bookworm-slim PG_MAJOR_RELEASE=15
- DOCKER_BASE_IMAGE=debian:bookworm-slim PG_MAJOR_RELEASE=14
- DOCKER_BASE_IMAGE=debian:bookworm-slim PG_MAJOR_RELEASE=13
- DOCKER_BASE_IMAGE=debian:bookworm-slim PG_MAJOR_RELEASE=12
- DOCKER_BASE_IMAGE=debian:bookworm-slim PG_MAJOR_RELEASE=11
- DOCKER_BASE_IMAGE=debian:bookworm-slim PG_MAJOR_RELEASE=10
- DOCKER_BASE_IMAGE=debian:bullseye-slim PG_MAJOR_RELEASE=16
- DOCKER_BASE_IMAGE=debian:bullseye-slim PG_MAJOR_RELEASE=15
- DOCKER_BASE_IMAGE=debian:bullseye-slim PG_MAJOR_RELEASE=14
- DOCKER_BASE_IMAGE=debian:bullseye-slim PG_MAJOR_RELEASE=13
- DOCKER_BASE_IMAGE=debian:bullseye-slim PG_MAJOR_RELEASE=12
- DOCKER_BASE_IMAGE=debian:bullseye-slim PG_MAJOR_RELEASE=11
- DOCKER_BASE_IMAGE=debian:bullseye-slim PG_MAJOR_RELEASE=10
- DOCKER_BASE_IMAGE=debian:buster-slim PG_MAJOR_RELEASE=16
- DOCKER_BASE_IMAGE=debian:buster-slim PG_MAJOR_RELEASE=15
- DOCKER_BASE_IMAGE=debian:buster-slim PG_MAJOR_RELEASE=14
- DOCKER_BASE_IMAGE=debian:buster-slim PG_MAJOR_RELEASE=13
- DOCKER_BASE_IMAGE=debian:buster-slim PG_MAJOR_RELEASE=11
- DOCKER_BASE_IMAGE=debian:buster-slim PG_MAJOR_RELEASE=10
- DOCKER_BASE_IMAGE=centos:8 PG_MAJOR_RELEASE=16
- DOCKER_BASE_IMAGE=centos:8 PG_MAJOR_RELEASE=15
- DOCKER_BASE_IMAGE=centos:8 PG_MAJOR_RELEASE=14
- DOCKER_BASE_IMAGE=centos:8 PG_MAJOR_RELEASE=13
- DOCKER_BASE_IMAGE=centos:8 PG_MAJOR_RELEASE=12
- DOCKER_BASE_IMAGE=centos:7 PG_MAJOR_RELEASE=15
- DOCKER_BASE_IMAGE=centos:7 PG_MAJOR_RELEASE=14
- DOCKER_BASE_IMAGE=centos:7 PG_MAJOR_RELEASE=13
- DOCKER_BASE_IMAGE=centos:7 PG_MAJOR_RELEASE=12
script:
- export DOCKER_BASE_IMAGE=${DOCKER_BASE_IMAGE}
- export PG_MAJOR_RELEASE=${PG_MAJOR_RELEASE}
- pipenv run molecule test
notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/
email:
if: branch = master
on_success: change
on_failure: always
recipients: