forked from siemens/jailhouse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
49 lines (42 loc) · 1.38 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#
# Jailhouse, a Linux-based partitioning hypervisor
#
# Copyright (c) Siemens AG, 2014, 2015
#
# Authors:
# Jan Kiszka <jan.kiszka@siemens.com>
#
# This work is licensed under the terms of the GNU GPL, version 2. See
# the COPYING file in the top-level directory.
#
language: c
compiler:
- gcc
sudo: required
dist: trusty
env:
global:
- secure: "HeNK8vFhW6656FoEc05SWwjorvMZWkUTIioHBJoX+s59uQ6MlgyPNnro8FrrcX/fNWLDNRrzl9U05423JVMWwjOuov6MgShDJkG/imadVO8Y+ZIsKdefAp/DsUhIhsnRNh8+bxUStdFAVatMvPf/ZWuEk0K3BC95yWK1VXE73ZQ="
install:
# Install additional packages
- sudo apt-add-repository 'deb http://archive.ubuntu.com/ubuntu vivid main'
- sudo apt-get update -qq
- sudo apt-get install -qq python-mako gcc-arm-linux-gnueabihf make
# Install kernel build environment
- pushd ci
- wget -q http://www.kiszka.org/downloads/travis-ci/kernel-build.tar.xz
- tar xJf kernel-build.tar.xz
- popd
script:
- if [ ${COVERITY_SCAN_BRANCH} != 1 ];
then ci/build-all-configs.sh;
fi
addons:
coverity_scan:
project:
name: "siemens/jailhouse"
notification_email: jan.kiszka@siemens.com
build_script_url: https://raw.githubusercontent.com/$TRAVIS_REPO_SLUG/$TRAVIS_BRANCH/ci/coverity-scan-build.sh
build_command_prepend: "cov-configure --comptype gcc --compiler arm-linux-gnueabihf-gcc --template"
build_command: "unused"
branch_pattern: coverity_scan.*