blob: ec170eda02b9a6e13a4963d1d84807953e169915 (
plain)
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
|
language: c++
sudo: required
dist: xenial
matrix:
include:
- compiler: clang
env: MAKEVARS=CPPFLAGS=-Werror
- compiler: gcc
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y bison dejagnu gettext keyutils ldap-utils libldap2-dev libkeyutils-dev libssl-dev python-cjson python-paste python-pyrad slapd tcl-dev tcsh
- mkdir -p cmocka/build
- cd cmocka
- wget https://cmocka.org/files/1.1/cmocka-1.1.1.tar.xz
- tar -xvf cmocka-1.1.1.tar.xz
- cd build
- cmake ../cmocka-1.1.1 -DCMAKE_INSTALL_PREFIX=/usr
- make
- sudo make install
- cd ../..
script: cd src && autoreconf && ./configure --enable-maintainer-mode --with-ldap && make $MAKEVARS && make check
|