Module: monitoring-plugins
Branch: maint-2.1
Commit: a0440a5f359acb6daf4cca647c3265c7a2008ea7
Author: Jan Wagner <[email protected]>
Date: Tue Oct 20 23:08:25 2015 +0200
URL:
https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=a0440a5
travis-ci: Detect LDAP config
---
.travis.yml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/.travis.yml b/.travis.yml
index 5cd8d4e..844d544 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -27,6 +27,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