-
Notifications
You must be signed in to change notification settings - Fork 94
/
.travis.yml
67 lines (58 loc) · 1.37 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
---
notifications:
email:
recipients:
on_success: always
on_failure: always
sudo: required
language: bash
env:
- release: debian_11
distro: debian
codename: bullseye
- release: debian_12
distro: debian
codename: bookworm
- release: debian_sid
distro: debian
codename: sid
- release: ubuntu_1804_lts
distro: ubuntu
codename: bionic
- release: ubuntu_2004_lts
distro: ubuntu
codename: focal
- release: ubuntu_2110
distro: ubuntu
codename: impish
- release: centos_7
distro: centos
codename: 7
- release: centos_8
distro: centos
codename: 8
- release: fedora_34
distro: fedora
codename: 34
- release: fedora_35
distro: fedora
codename: 35
branches:
only:
- master
services:
- docker
before_install:
- export TZ=Europe/London
- date
- env | sort
- sudo apt-get update -qq
install:
- sudo docker build -f ci/Dockerfile.${distro}-${codename} -t xmltv-build-deps/${distro}-${codename} .
- sudo docker run -t --detach -v $TRAVIS_BUILD_DIR:/src --name xmltv xmltv-build-deps/${distro}-${codename} /bin/bash
- sudo docker ps -a
script:
- docker exec -it xmltv /bin/bash -c "cd /src && perl Makefile.PL --yes"
- docker exec -it xmltv /bin/bash -c "cd /src && make"
- docker exec -it xmltv /bin/bash -c "cd /src && make test"