]> rtime.felk.cvut.cz Git - jailhouse.git/blob - .travis.yml
README: Remove superfluous CPU features from QEMU command line
[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   # Install kernel build environment
32   - pushd ci
33   - wget -q http://www.kiszka.org/downloads/travis-ci/kernel-build.tar.xz
34   - tar xJf kernel-build.tar.xz
35   - popd
36
37 script:
38   - if [ ${COVERITY_SCAN_BRANCH} != 1 ];
39         then ci/build-all-configs.sh;
40     fi
41
42 addons:
43   coverity_scan:
44     project:
45       name: "siemens/jailhouse"
46     notification_email: jan.kiszka@siemens.com
47     build_script_url: https://raw.githubusercontent.com/$TRAVIS_REPO_SLUG/$TRAVIS_BRANCH/ci/coverity-scan-build.sh
48     build_command_prepend: "cov-configure --comptype gcc --compiler arm-linux-gnueabihf-gcc --template"
49     build_command: "unused"
50     branch_pattern: coverity_scan.*