Skip to content
Permalink
Browse files

ci: Update build environment to Ubuntu 18.04

This allows to switch to gcc 8 which may report issues earlier.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
  • Loading branch information...
jan-kiszka committed Sep 1, 2019
1 parent aff3c91 commit 955a9418df6edd88cf0f4496b029312df0bd7511
Showing with 7 additions and 3 deletions.
  1. +7 −3 .travis.yml
@@ -11,7 +11,7 @@
#

language: c
dist: xenial
dist: bionic

compiler:
- gcc
@@ -20,9 +20,10 @@ addons:
apt:
packages:
- python-mako
- gcc-arm-linux-gnueabihf
- gcc-8
- gcc-8-arm-linux-gnueabihf
- libc6-dev-armhf-cross
- gcc-aarch64-linux-gnu
- gcc-8-aarch64-linux-gnu
- libc6-dev-arm64-cross
coverity_scan:
project:
@@ -34,6 +35,9 @@ addons:
branch_pattern: coverity_scan.*

install:
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 800
- sudo update-alternatives --install /usr/bin/aarch64-linux-gnu-gcc aarch64-linux-gnu-gcc /usr/bin/aarch64-linux-gnu-gcc-8 800
- sudo update-alternatives --install /usr/bin/arm-linux-gnueabihf-gcc arm-linux-gnueabihf-gcc /usr/bin/arm-linux-gnueabihf-gcc-8 800
# Work around broken certificate of scan.coverity.com
- sudo curl -s -L https://entrust.com/root-certificates/entrust_l1k.cer -o /usr/local/share/ca-certificates/entrust_l1k.crt
- sudo update-ca-certificates

0 comments on commit 955a941

Please sign in to comment.
You can’t perform that action at this time.