]> rtime.felk.cvut.cz Git - jailhouse.git/blob - .travis.yml
jailhouse: inmates: bench: Add -R option -- repeats count.
[jailhouse.git] / .travis.yml
1 #
2 # Jailhouse, a Linux-based partitioning hypervisor
3 #
4 # Copyright (c) Siemens AG, 2014-2016
5 #
6 # Authors:
7 #  Jan Kiszka <jan.kiszka@siemens.com>
8 #
9 # This work is licensed under the terms of the GNU GPL, version 2.  See
10 # the COPYING file in the top-level directory.
11 #
12
13 language: c
14
15 compiler:
16   - gcc
17
18 sudo: required
19 dist: trusty
20
21 # Remove bogus python installations from PATH,
22 # see https://github.com/travis-ci/travis-ci/issues/5326
23 before_install:
24   - export PATH=$(echo $PATH | sed 's/\/opt\/python[^:]*//g')
25
26 install:
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
34   - pushd ci
35   - wget -q http://www.kiszka.org/downloads/travis-ci/kernel-build.tar.xz
36   - tar xJf kernel-build.tar.xz
37   - popd
38
39 script:
40   - if [ ${COVERITY_SCAN_BRANCH} != 1 ];
41         then ci/build-all-configs.sh;
42     fi
43
44 addons:
45   coverity_scan:
46     project:
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.*