-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
47 lines (47 loc) · 1.21 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
language: c
sudo: required
compiler: gcc-7
dist: trusty
before_install:
- sudo pip install --upgrade cpp-coveralls
addons:
apt:
packages:
- autoconf
- automake
- libglib2.0-dev
- libjson-glib-dev
- libssl-dev
- libcurl4-openssl-dev
- squashfs-tools
- dosfstools
- lcov
- slirp
- python-sphinx
- dbus-x11
- gcc-7
- user-mode-linux
- grub-common
sources: &sources
- ubuntu-toolchain-r-test
- sourceline: 'deb http://archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse'
coverity_scan:
project:
name: "jluebbe/rauc"
description: "Robust Auto-Update Controller"
notification_email: jluebbe@lasnet.de
build_command_prepend: "cov-configure --comptype gcc --compiler gcc-7 --template && ./autogen.sh && ./configure"
build_command: "make -j2"
branch_pattern: master
script:
- ./autogen.sh
- ./configure --enable-code-coverage
- make clean
- make -j2
- make doc SPHINXOPTS=-W
- make check TESTS= && sudo ./uml-test
- make distcheck
after_success:
- coveralls --build-root '.' --exclude test --exclude rauc-installer-generated.c
after_failure:
- cat test/*.log