summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Wagner <waja@cyconet.org>2015-10-20 23:08:25 +0200
committerJan Wagner <waja@cyconet.org>2015-10-21 16:33:59 +0200
commit0eee69714d2cfd0dfb089b44265b3391c250b0f4 (patch)
treeb492d26bee763985d8373faa5a245d9ff0f921da
parent650d396186d2c9f5a45b697a07146323e9e47e7f (diff)
downloadmonitoring-plugins-0eee697.tar.gz
travis-ci: Detect LDAP config
-rw-r--r--.travis.yml2
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:
29before_script: 29before_script:
30 # ensure we have a test database in place for tests 30 # ensure we have a test database in place for tests
31 - mysql -e "create database IF NOT EXISTS test;" -uroot 31 - mysql -e "create database IF NOT EXISTS test;" -uroot
32 # Detect LDAP configuration (seems volatile on trusty env)
33 - sed -e 's/cn=admin,dc=nodomain/'$(sudo /usr/sbin/slapcat|grep ^dn:|grep cn=|awk '{print $2}')'/' -i plugins/t/NPTest.cache.travis
32 - tools/setup 34 - tools/setup
33 - ./configure --enable-libtap 35 - ./configure --enable-libtap
34 - make 36 - make