]> rtime.felk.cvut.cz Git - jailhouse.git/blob - .travis.yml
ci: Use script for building all configurations
[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 env:
19   global:
20     - secure: "HeNK8vFhW6656FoEc05SWwjorvMZWkUTIioHBJoX+s59uQ6MlgyPNnro8FrrcX/fNWLDNRrzl9U05423JVMWwjOuov6MgShDJkG/imadVO8Y+ZIsKdefAp/DsUhIhsnRNh8+bxUStdFAVatMvPf/ZWuEk0K3BC95yWK1VXE73ZQ="
21
22 install:
23   # Install additional packages
24   - echo "deb http://archive.ubuntu.com/ubuntu utopic main restricted" | sudo tee -a /etc/apt/sources.list
25   - sudo apt-get update -qq
26   - sudo apt-get install -qq python-mako gcc-arm-linux-gnueabihf make
27   # Install kernel build environment
28   - pushd ci
29   - wget -q http://www.kiszka.org/downloads/travis-ci/kernel-build.tar.xz
30   - tar xJf kernel-build.tar.xz
31   - popd
32
33 script:
34   - ci/build-all-configs.sh
35
36 addons:
37   coverity_scan:
38     project:
39       name: "siemens/jailhouse"
40       description: "Build submitted via Travis CI"
41     notification_email: jan.kiszka@siemens.com
42     build_command_prepend: "cp ci/jailhouse-config-x86.h hypervisor/include/jailhouse/config.h"
43     build_command:   "make KDIR=ci/linux/build-x86"
44     branch_pattern: coverity_scan