From 0eee69714d2cfd0dfb089b44265b3391c250b0f4 Mon Sep 17 00:00:00 2001 From: Jan Wagner Date: Tue, 20 Oct 2015 23:08:25 +0200 Subject: travis-ci: Detect LDAP config --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 3d396e49..6068b0dd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,6 +29,8 @@ install: before_script: # ensure we have a test database in place for tests - mysql -e "create database IF NOT EXISTS test;" -uroot + # Detect LDAP configuration (seems volatile on trusty env) + - sed -e 's/cn=admin,dc=nodomain/'$(sudo /usr/sbin/slapcat|grep ^dn:|grep cn=|awk '{print $2}')'/' -i plugins/t/NPTest.cache.travis - tools/setup - ./configure --enable-libtap - make -- cgit v1.2.3