-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
44 lines (44 loc) · 1.04 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
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'
before_script:
- ./build-uncrustify.sh
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
- ./uncrustify.sh && git diff --exit-code
after_failure:
- cat test/*.log
- cat test-suite.log
- ./uncrustify.sh && git diff --exit-code