2 # Jailhouse, a Linux-based partitioning hypervisor
4 # Copyright (c) Siemens AG, 2014-2016
7 # Jan Kiszka <jan.kiszka@siemens.com>
9 # This work is licensed under the terms of the GNU GPL, version 2. See
10 # the COPYING file in the top-level directory.
21 # Remove bogus python installations from PATH,
22 # see https://github.com/travis-ci/travis-ci/issues/5326
24 - export PATH=$(echo $PATH | sed 's/\/opt\/python[^:]*//g')
27 # Install additional packages
28 - sudo apt-add-repository 'deb http://archive.ubuntu.com/ubuntu wily main'
29 - sudo apt-get update -qq
30 - sudo apt-get install -qq python-mako gcc-arm-linux-gnueabihf make
31 # Update scan.coverity.com certificate
32 - echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-certificates.crt
33 # Install kernel build environment
35 - wget -q http://www.kiszka.org/downloads/travis-ci/kernel-build.tar.xz
36 - tar xJf kernel-build.tar.xz
40 - if [ ${COVERITY_SCAN_BRANCH} != 1 ];
41 then ci/build-all-configs.sh;
47 name: "siemens/jailhouse"
48 notification_email: jan.kiszka@siemens.com
49 build_script_url: https://raw.githubusercontent.com/$TRAVIS_REPO_SLUG/$TRAVIS_BRANCH/ci/coverity-scan-build.sh
50 build_command_prepend: "cov-configure --comptype gcc --compiler arm-linux-gnueabihf-gcc --template"
51 build_command: "unused"
52 branch_pattern: coverity_scan.*