forked from NLnetLabs/dnssec-trigger
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
36 lines (36 loc) · 892 Bytes
/
.travis.yml
File metadata and controls
36 lines (36 loc) · 892 Bytes
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
dist: trusty
language: c
compiler:
- clang
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y gir1.2-networkmanager-1.0 libc6 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk2.0-0 libldns1 libssl1.0.0 python python-gi python-lockfile unbound libldns-dev libgtk2.0-dev
before_script:
- pwd
- pushd ..
- pwd
- wget --no-check-certificate https://cmocka.org/files/1.1/cmocka-1.1.0.tar.xz
- tar xf cmocka-1.1.0.tar.xz
- pushd cmocka-1.1.0
- pwd
- sudo apt-get -y install cmake
- mkdir build
- pushd build
- pwd
- cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
- make
- sudo make install
- popd
- pwd
- popd
- pwd
- popd
- pwd
env:
- CC=clang
- CFLAGS="-std=gnu99 -fsanitize=address"
script:
- ./configure --with-forward-zones-support
- make
- mkdir test/tmp
- make test