d3910bc7c779ee80bfa02897bb677ff2349f9490
[freeradius.git] / .travis.yml
1 language: c
2 compiler:
3   - clang
4   - gcc
5 before_install:
6   - sudo apt-get update -qq
7   - > 
8       sudo apt-get install --no-install-recommends -qq 
9       autoconf
10       build-essential
11       debhelper
12       devscripts
13       dh-make
14       fakeroot
15       gdb 
16       lintian
17       pbuilder
18       python-dev
19       quilt
20       libruby
21       ruby-dev
22       libcollectdclient-dev
23       firebird-dev
24       freetds-dev
25       libgdbm-dev
26       libhiredis-dev
27       libidn11-dev
28       libiodbc2-dev libiodbc2
29       libkrb5-dev
30       libldap2-dev
31       libpam0g-dev
32       libpcap-dev
33       libpcre3-dev
34       libperl-dev
35       libpq-dev
36       libreadline-dev
37       libsnmp-dev
38       libssl-dev
39       libtalloc-dev
40       libykclient-dev
41       libyubikey-dev
42   - sudo apt-get install -qq -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" libmysqlclient-dev
43 env:
44     global:
45       - PANIC_ACTION="gdb -silent -x raddb/panic.gdb %e %p"
46     matrix:
47       - LIBS_OPTIONAL=no LIBS_SHARED=yes
48       - LIBS_OPTIONAL=yes LIBS_SHARED=yes
49 before_script:
50   - ./configure -C --enable-werror --prefix=$HOME/freeradius --with-shared-libs=$LIBS_SHARED --with-threads=$LIBS_OPTIONAL --with-udpfromto=$LIBS_OPTIONAL --with-openssl=$LIBS_OPTIONAL
51   - make
52 script: make travis-test