Add in rad_virtual_server() which is now required for libeap
[freeradius.git] / .travis.yml
index 687a9da..fc0a677 100644 (file)
@@ -9,6 +9,7 @@ env:
   matrix:
     - LIBS_OPTIONAL=no LIBS_SHARED=yes
     - LIBS_OPTIONAL=yes LIBS_SHARED=yes
+    - LIBS_OPTIONAL=yes LIBS_SHARED=yes BUILD_CFLAGS="-O2 -g3"
 addons:
   coverity_scan:
     project:
@@ -21,6 +22,8 @@ addons:
     branch_pattern: coverity_scan
 before_install:
   - $CC --version
+  - wget -O - http://packages.couchbase.com/ubuntu/couchbase.key | sudo apt-key add -
+  - sudo sudo wget -O /etc/apt/sources.list.d/couchbase.list http://packages.couchbase.com/ubuntu/couchbase-ubuntu1204.list
   - sudo apt-get update -qq
   - >
       sudo apt-get install --no-install-recommends -qq
@@ -66,6 +69,6 @@ before_install:
       libyubikey-dev
   - sudo apt-get install -qq -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" libmysqlclient-dev
 before_script:
-  - ./configure -C --enable-werror --prefix=$HOME/freeradius --with-shared-libs=$LIBS_SHARED --with-threads=$LIBS_OPTIONAL --with-udpfromto=$LIBS_OPTIONAL --with-openssl=$LIBS_OPTIONAL
+  - CFLAGS="${BUILD_CFLAGS}" ./configure -C --enable-werror --prefix=$HOME/freeradius --with-shared-libs=$LIBS_SHARED --with-threads=$LIBS_OPTIONAL --with-udpfromto=$LIBS_OPTIONAL --with-openssl=$LIBS_OPTIONAL
   - make
 script: if [ ${COVERITY_SCAN_BRANCH} != 1 ]; then make travis-test; fi