]> rtime.felk.cvut.cz Git - jailhouse.git/blob - .travis.yml
ci: Add Travis CI infrastructure
[jailhouse.git] / .travis.yml
1 #
2 # Jailhouse, a Linux-based partitioning hypervisor
3 #
4 # Copyright (c) Siemens AG, 2014
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 install:
19   - echo "deb http://archive.ubuntu.com/ubuntu utopic main restricted" | sudo tee -a /etc/apt/sources.list
20   - sudo apt-get update -qq
21   - sudo apt-get install -qq python-mako gcc-arm-linux-gnueabihf make
22   - cd ci
23   - wget -q http://www.kiszka.org/downloads/travis-ci/kernel-build.tar.xz
24   - tar xJf kernel-build.tar.xz
25   - cd ..
26
27 script:
28   - cp ci/jailhouse-config-x86.h hypervisor/include/jailhouse/config.h
29   - make KDIR=ci/linux/build-x86
30   - cp ci/jailhouse-config-banana-pi.h hypervisor/include/jailhouse/config.h
31   - make KDIR=ci/linux/build-banana-pi ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- clean all
32   - cp ci/jailhouse-config-vexpress.h hypervisor/include/jailhouse/config.h
33   - make KDIR=ci/linux/build-vexpress ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- clean all