forked from rauc/rauc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (35 loc) · 1.12 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
language: c
sudo: required
compiler: gcc
dist: trusty
before_install:
- sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu/
trusty main restricted universe multiverse" -y
- sudo apt-get update -qq
- sudo apt-get install -qq autoconf automake libglib2.0-dev libjson-glib-dev
libssl-dev libcurl4-openssl-dev squashfs-tools lcov slirp
- sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu/
vivid main restricted universe multiverse" -y
- sudo apt-get update -qq
- sudo apt-get install -qq user-mode-linux grub-common
- sudo pip install cpp-coveralls
addons:
coverity_scan:
project:
name: "jluebbe/rauc"
description: "Robust Auto-Update Controller"
notification_email: [email protected]
build_command_prepend: "./autogen.sh && ./configure"
build_command: "make -j2"
branch_pattern: master
script:
- ./autogen.sh
- ./configure --enable-code-coverage
- make clean
- make -j2
- make check TESTS= && sudo ./uml-test
- make distcheck
after_success:
- coveralls --build-root '.' --exclude tests --exclude rauc-installer-generated.c
after_failure:
- cat test/*.log