diff options
author | Frantisek Sumsal <fsumsal@redhat.com> | 2019-02-23 17:10:55 +0100 |
---|---|---|
committer | Lukáš Nykrýn <lnykryn@redhat.com> | 2019-05-03 13:00:29 +0200 |
commit | d84b1c62b9739e9c043a717aecec2da181eb9df7 (patch) | |
tree | b07d6ec33babb3c3db8ce8e16cb7e9bdca4897f1 /.travis.yml | |
parent | a652268ae11633cf64c87586bed1fd3c7141707a (diff) | |
download | systemd-d84b1c62b9739e9c043a717aecec2da181eb9df7.tar.gz |
travis: enable ASan and UBSan on RHEL8
Resolves: #1683319
rhel-only
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index c5c9c345a9..67677bdf06 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,8 +8,7 @@ env: jobs: include: - - stage: Build & test - name: CentOS 7 + - name: CentOS 7 language: bash env: - CENTOS_RELEASE="centos7" @@ -28,3 +27,23 @@ jobs: - 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 |