]> rtime.felk.cvut.cz Git - jailhouse.git/blob - .travis.yml
8946429fa0c10821593dea4d615f6d761c5e619b
[jailhouse.git] / .travis.yml
1 #
2 # Jailhouse, a Linux-based partitioning hypervisor
3 #
4 # Copyright (c) Siemens AG, 2014, 2015
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 install:
22   # Install additional packages
23   - sudo apt-add-repository 'deb http://archive.ubuntu.com/ubuntu vivid main'
24   - sudo apt-get update -qq
25   - sudo apt-get install -qq python-mako gcc-arm-linux-gnueabihf make
26   # Install kernel build environment
27   - pushd ci
28   - wget -q http://www.kiszka.org/downloads/travis-ci/kernel-build.tar.xz
29   - tar xJf kernel-build.tar.xz
30   - popd
31
32 script:
33   - if [ ${COVERITY_SCAN_BRANCH} != 1 ];
34         then ci/build-all-configs.sh;
35     fi
36
37 addons:
38   coverity_scan:
39     project:
40       name: "siemens/jailhouse"
41     notification_email: jan.kiszka@siemens.com
42     build_script_url: https://raw.githubusercontent.com/$TRAVIS_REPO_SLUG/$TRAVIS_BRANCH/ci/coverity-scan-build.sh
43     build_command_prepend: "cov-configure --comptype gcc --compiler arm-linux-gnueabihf-gcc --template"
44     build_command: "unused"
45     branch_pattern: coverity_scan.*