blob: 32843f03ba4bd822655b2785fe659cf9a6903fed [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