]> rtime.felk.cvut.cz Git - jailhouse.git/blob - .travis.yml
ci: Update Travis Ubuntu environment
[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 env:
22   global:
23     - secure: "HeNK8vFhW6656FoEc05SWwjorvMZWkUTIioHBJoX+s59uQ6MlgyPNnro8FrrcX/fNWLDNRrzl9U05423JVMWwjOuov6MgShDJkG/imadVO8Y+ZIsKdefAp/DsUhIhsnRNh8+bxUStdFAVatMvPf/ZWuEk0K3BC95yWK1VXE73ZQ="
24
25 install:
26   # Install additional packages
27   - sudo apt-add-repository 'deb http://archive.ubuntu.com/ubuntu vivid main'
28   - sudo apt-get update -qq
29   - sudo apt-get install -qq python-mako gcc-arm-linux-gnueabihf make
30   # Install kernel build environment
31   - pushd ci
32   - wget -q http://www.kiszka.org/downloads/travis-ci/kernel-build.tar.xz
33   - tar xJf kernel-build.tar.xz
34   - popd
35
36 script:
37   - if [ ${COVERITY_SCAN_BRANCH} != 1 ];
38         then ci/build-all-configs.sh;
39     fi
40
41 addons:
42   coverity_scan:
43     project:
44       name: "siemens/jailhouse"
45     notification_email: jan.kiszka@siemens.com
46     build_script_url: https://raw.githubusercontent.com/$TRAVIS_REPO_SLUG/$TRAVIS_BRANCH/ci/coverity-scan-build.sh
47     build_command_prepend: "cov-configure --comptype gcc --compiler arm-linux-gnueabihf-gcc --template"
48     build_command: "unused"
49     branch_pattern: coverity_scan.*