[monitoring-plugins] travis-ci: Detect LDAP config
Jan Wagner
git at monitoring-plugins.org
Wed Oct 21 17:10:11 CEST 2015
Module: monitoring-plugins
Branch: master
Commit: 0eee69714d2cfd0dfb089b44265b3391c250b0f4
Author: Jan Wagner <waja at cyconet.org>
Date: Tue Oct 20 23:08:25 2015 +0200
URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=0eee697
travis-ci: Detect LDAP config
---
.travis.yml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/.travis.yml b/.travis.yml
index 3d396e4..6068b0d 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
More information about the Commits
mailing list