blob: 67677bdf0696b83d5af29b5bf77b63269d6931c2 (
plain)
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
|
sudo: required
services:
- docker
env:
global:
- CI_ROOT="$TRAVIS_BUILD_DIR/ci/"
jobs:
include:
- name: CentOS 7
language: bash
env:
- CENTOS_RELEASE="centos7"
- CONT_NAME="systemd-centos-$CENTOS_RELEASE"
- DOCKER_EXEC="docker exec -ti $CONT_NAME"
before_install:
- sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce
- docker --version
install:
- if [ -f meson.build ]; then RHEL_VERSION=rhel8; else RHEL_VERSION=rhel7; fi
- $CI_ROOT/travis-centos-${RHEL_VERSION}.sh SETUP
script:
- set -e
# Build systemd
- $CI_ROOT/travis-centos-${RHEL_VERSION}.sh RUN
- set +e
after_script:
- $CI_ROOT/travis-centos-${RHEL_VERSION}.sh CLEANUP
- name: CentOS 7 (ASan+UBSan)
language: bash
env:
- CENTOS_RELEASE="centos7"
- CONT_NAME="systemd-centos-$CENTOS_RELEASE"
- DOCKER_EXEC="docker exec -ti $CONT_NAME"
before_install:
- sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce
- docker --version
install:
- if [ -f meson.build ]; then RHEL_VERSION=rhel8; else RHEL_VERSION=rhel7; fi
- $CI_ROOT/travis-centos-${RHEL_VERSION}.sh SETUP
script:
- set -e
# Build systemd
- $CI_ROOT/travis-centos-${RHEL_VERSION}.sh RUN_ASAN
- set +e
after_script:
- $CI_ROOT/travis-centos-${RHEL_VERSION}.sh CLEANUP
|