aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Kiszka2019-04-06 07:25:48 -0500
committerJan Kiszka2019-04-08 10:21:37 -0500
commit12a40fd291c9fe4ed52018ff2a5b55b4257fa035 (patch)
treec296f9944c7bcf2da3ee224bd7d6c6235698e500
parent1bbc6fb379192d80ff91e07606839e099ac5eebd (diff)
downloadti-jailhouse-12a40fd291c9fe4ed52018ff2a5b55b4257fa035.tar.gz
ti-jailhouse-12a40fd291c9fe4ed52018ff2a5b55b4257fa035.tar.xz
ti-jailhouse-12a40fd291c9fe4ed52018ff2a5b55b4257fa035.zip
ci: Update travis rules
Xenial is now an official offer. This allows to drop a lot of legacy. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
-rw-r--r--.travis.yml42
1 files changed, 18 insertions, 24 deletions
diff --git a/.travis.yml b/.travis.yml
index cf3729d7..4638469e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,7 +1,7 @@
1# 1#
2# Jailhouse, a Linux-based partitioning hypervisor 2# Jailhouse, a Linux-based partitioning hypervisor
3# 3#
4# Copyright (c) Siemens AG, 2014-2016 4# Copyright (c) Siemens AG, 2014-2019
5# 5#
6# Authors: 6# Authors:
7# Jan Kiszka <jan.kiszka@siemens.com> 7# Jan Kiszka <jan.kiszka@siemens.com>
@@ -11,25 +11,29 @@
11# 11#
12 12
13language: c 13language: c
14dist: xenial
14 15
15compiler: 16compiler:
16 - gcc 17 - gcc
17 18
18sudo: required 19addons:
19dist: trusty 20 apt:
20 21 packages:
21# Remove bogus python installations from PATH, 22 - python-mako
22# see https://github.com/travis-ci/travis-ci/issues/5326 23 - gcc-arm-linux-gnueabihf
23before_install: 24 - libc6-dev-armhf-cross
24 - export PATH=$(echo $PATH | sed 's/\/opt\/python[^:]*//g') 25 - gcc-aarch64-linux-gnu
26 - libc6-dev-arm64-cross
27 coverity_scan:
28 project:
29 name: "siemens/jailhouse"
30 notification_email: jan.kiszka@siemens.com
31 build_script_url: https://raw.githubusercontent.com/$TRAVIS_REPO_SLUG/$TRAVIS_BRANCH/ci/coverity-scan-build.sh
32 build_command_prepend: "cov-configure --comptype gcc --compiler arm-linux-gnueabihf-gcc --template; cov-configure --comptype gcc --compiler aarch64-linux-gnu-gcc --template"
33 build_command: "unused"
34 branch_pattern: coverity_scan.*
25 35
26install: 36install:
27 # Install additional packages
28 - sudo apt-add-repository 'deb http://archive.ubuntu.com/ubuntu xenial main'
29 - sudo apt-get update -qq
30 - sudo apt-get install -qq python-mako gcc-arm-linux-gnueabihf gcc-aarch64-linux-gnu make
31 # Update scan.coverity.com certificate
32 - echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-certificates.crt
33 # Install kernel build environment if it's not in the cache 37 # Install kernel build environment if it's not in the cache
34 - if [ ! -L ci/linux ]; then 38 - if [ ! -L ci/linux ]; then
35 pushd ci; 39 pushd ci;
@@ -47,13 +51,3 @@ script:
47 - if [ ${COVERITY_SCAN_BRANCH} != 1 ]; 51 - if [ ${COVERITY_SCAN_BRANCH} != 1 ];
48 then ci/build-all-configs.sh; 52 then ci/build-all-configs.sh;
49 fi 53 fi
50
51addons:
52 coverity_scan:
53 project:
54 name: "siemens/jailhouse"
55 notification_email: jan.kiszka@siemens.com
56 build_script_url: https://raw.githubusercontent.com/$TRAVIS_REPO_SLUG/$TRAVIS_BRANCH/ci/coverity-scan-build.sh
57 build_command_prepend: "cov-configure --comptype gcc --compiler arm-linux-gnueabihf-gcc --template; cov-configure --comptype gcc --compiler aarch64-linux-gnu-gcc --template"
58 build_command: "unused"
59 branch_pattern: coverity_scan.*