blob: 6d002362c8e3af06aeb41949056ac362dceaaa0c [file] [log] [blame]
Teddy Reedc4335c72016-01-13 17:53:59 -08001language: cpp
2compiler:
3 - gcc
4
5# This is a lie: we don't need sudo but this is required to get an
6# Ubuntu image with a libc that isn't ancient, and with cmocka libs.
7sudo: required
8dist: trusty
9
10addons:
11 apt:
12 packages:
13 - autoconf-archive
14 - libcmocka0
15 - libcmocka-dev
16
17install: true
18
19before_script:
20 - ./bootstrap
21
22script:
23 - mkdir ./build
24 - pushd ./build
25 - CONFIG_SITE=../lib/default_config.site ../configure --enable-unit
26 - make -j$(nproc)
Philip Tricca07a0c462016-12-04 21:19:38 -080027 - make simulator-build
28 - make simulator-start
29 - make check
30 - make simulator-stop
Philip Triccaf52391c2017-02-15 19:03:18 -080031 - |
32 for LOG in $(ls -1 test/unit/*.log); do
33 echo "${LOG}"
34 cat ${LOG}
35 done
36 - |
37 for LOG in $(ls -1 test/integration/*.log); do
38 echo "${LOG}"
39 cat ${LOG}
40 done