diff options
author | Jan Wagner <waja@cyconet.org> | 2015-10-20 23:08:25 +0200 |
---|---|---|
committer | Jan Wagner <waja@cyconet.org> | 2015-10-21 16:33:59 +0200 |
commit | 0eee69714d2cfd0dfb089b44265b3391c250b0f4 (patch) | |
tree | b492d26bee763985d8373faa5a245d9ff0f921da | |
parent | 650d396186d2c9f5a45b697a07146323e9e47e7f (diff) | |
download | monitoring-plugins-0eee69714d2cfd0dfb089b44265b3391c250b0f4.tar.gz |
travis-ci: Detect LDAP config
-rw-r--r-- | .travis.yml | 2 |
1 files changed, 2 insertions, 0 deletions
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 |