From 97a76bd9e60ffb6c498857210ed5fe5604b8e3c6 Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Sat, 25 Apr 2020 12:43:53 +0200 Subject: [PATCH] travis: add more architectures and Coverity support Now that travis supports more architectures let's make sure we test on all of them and that we enable Coverity too. Signed-off-by: Christian Brauner --- .travis.yml | 34 ++++++++++++++++++++++++++++------ 1 file changed, 28 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4fe0ad2b..baea487f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,16 +1,38 @@ +dist: bionic sudo: false language: c compiler: - - gcc - - clang + - gcc + - clang + +arch: + - amd64 + - arm64 + - ppc64le + - s390x + +env: + global: + # The next declaration is the encrypted COVERITY_SCAN_TOKEN, created + # via the "travis encrypt" command using the project repo's public key + - secure: "D3C+O5UjN8Oe0FROMk5yPRU0he4UNAaHdxwSVG2373ImzYIs3pIvre1kXzeQSajbXCRKiKE8p2U0TooIRZAo/JeaZDgb4dBhij4c4/Qv8MpFCTC1W7cgo6UeOQeZwdfqp7v9Zz5ubh6RW68bmSM2naqQim1zuD1vDSGy4Wir7z4=" + +before_install: + - sudo apt-get update -qq + - sudo apt-get -y install -qq automake autopoint xsltproc libselinux1-dev gettext + - echo -n | openssl s_client -connect https://scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca- addons: - apt: - packages: - - autopoint - - xsltproc + coverity_scan: + project: + name: "shadow-maint/shadow" + description: "Upstream shadow utils tree" + notification_email: christian.brauner@ubuntu.com,serge@hallyn.com + build_command_prepend: "./autogen.sh --without-selinux --disable-man" + build_command: "make -j4" + branch_pattern: master script: - ./autogen.sh --without-selinux --disable-man