summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml64
1 files changed, 27 insertions, 37 deletions
diff --git a/.travis.yml b/.travis.yml
index f50731fe3f..6eae0bc3e4 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,4 +1,5 @@
sudo: required
+dist: xenial
services:
- docker
@@ -17,96 +18,85 @@ stages:
jobs:
include:
- stage: Build & test
- name: Fedora Latest
+ name: Debian Testing
language: bash
env:
- - FEDORA_RELEASE="latest"
- - CONT_NAME="systemd-fedora-$FEDORA_RELEASE"
+ - DEBIAN_RELEASE="testing"
+ - CONT_NAME="systemd-debian-$DEBIAN_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:
- - $CI_MANAGERS/fedora.sh SETUP
+ - $CI_MANAGERS/debian.sh SETUP
script:
- set -e
# Build systemd
- - $CI_MANAGERS/fedora.sh RUN
+ - $CI_MANAGERS/debian.sh RUN
- set +e
after_script:
- - $CI_MANAGERS/fedora.sh CLEANUP
+ - $CI_MANAGERS/debian.sh CLEANUP
- - name: Fedora Latest (ASan+UBSan)
+ - name: Debian Testing (ASan+UBSan)
language: bash
env:
- - FEDORA_RELEASE="latest"
- - CONT_NAME="systemd-fedora-$FEDORA_RELEASE"
+ - DEBIAN_RELEASE="testing"
+ - CONT_NAME="systemd-debian-$DEBIAN_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:
- - $CI_MANAGERS/fedora.sh SETUP
+ - $CI_MANAGERS/debian.sh SETUP
script:
- set -e
- - $CI_MANAGERS/fedora.sh RUN_ASAN
+ - $CI_MANAGERS/debian.sh RUN_ASAN
- set +e
after_script:
- - $CI_MANAGERS/fedora.sh CLEANUP
+ - $CI_MANAGERS/debian.sh CLEANUP
- - name: Fedora Latest (clang)
+ - name: Debian Testing (clang)
language: bash
env:
- - FEDORA_RELEASE="latest"
- - CONT_NAME="systemd-fedora-$FEDORA_RELEASE"
+ - DEBIAN_RELEASE="testing"
+ - CONT_NAME="systemd-debian-$DEBIAN_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:
- - $CI_MANAGERS/fedora.sh SETUP
+ - $CI_MANAGERS/debian.sh SETUP
script:
- set -e
- - $CI_MANAGERS/fedora.sh RUN_CLANG
+ - $CI_MANAGERS/debian.sh RUN_CLANG
- set +e
after_script:
- - $CI_MANAGERS/fedora.sh CLEANUP
+ - $CI_MANAGERS/debian.sh CLEANUP
- - name: Fedora Latest (clang ASan+UBSan)
+ - name: Debian Testing (clang ASan+UBSan)
language: bash
env:
- - FEDORA_RELEASE="latest"
- - CONT_NAME="systemd-fedora-$FEDORA_RELEASE"
+ - DEBIAN_RELEASE="testing"
+ - CONT_NAME="systemd-debian-$DEBIAN_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:
- - $CI_MANAGERS/fedora.sh SETUP
+ - $CI_MANAGERS/debian.sh SETUP
script:
- set -e
- - $CI_MANAGERS/fedora.sh RUN_CLANG_ASAN
+ - $CI_MANAGERS/debian.sh RUN_CLANG_ASAN
- set +e
after_script:
- - $CI_MANAGERS/fedora.sh CLEANUP
+ - $CI_MANAGERS/debian.sh CLEANUP
- - name: Debian Testing
+ - name: Ubuntu Xenial
language: bash
- env:
- - DEBIAN_RELEASE="testing"
- - CONT_NAME="systemd-debian-$DEBIAN_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:
- - $CI_MANAGERS/debian.sh SETUP
script:
- set -e
- - $CI_MANAGERS/debian.sh RUN
+ - sudo $CI_MANAGERS/xenial.sh
- set +e
- after_script:
- - $CI_MANAGERS/debian.sh CLEANUP
- stage: Coverity
language: bash