Build without libpcre for the optional library test in travis
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 5 Jan 2015 13:32:20 +0000 (08:32 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 5 Jan 2015 13:32:33 +0000 (08:32 -0500)
.travis.yml
src/tests/keywords/if-regex-match-named

index c9941b3..b606b6e 100644 (file)
@@ -71,6 +71,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:
-  - 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
+  - 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 --with-pcre=$LIBS_OPTIONAL
   - make
 script: if [ ${COVERITY_SCAN_BRANCH} != 1 ]; then make travis-test; fi
index d5add8f..5b633c8 100644 (file)
@@ -1,5 +1,6 @@
 # PRE: if
 #
+if ('${feature.regex-pcre}' == 'yes') {
 update request {
        Tmp-Integer-0 := '123456789'
 }
@@ -87,3 +88,4 @@ else {
                Filter-Id += 'Fail 4.5'
        }
 }
+}