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 17:06:08 +0200
commita0440a5f359acb6daf4cca647c3265c7a2008ea7 (patch)
treeaaa1dfcc56b41d106381a3fd6b488b13be5d3c36
parentaa5e04ea2115096901ca4aecf8050f76f697ba11 (diff)
downloadmonitoring-plugins-a0440a5f359acb6daf4cca647c3265c7a2008ea7.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 5cd8d4ed..844d5442 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -27,6 +27,8 @@ install:
27before_script: 27before_script:
28 # ensure we have a test database in place for tests 28 # ensure we have a test database in place for tests
29 - mysql -e "create database IF NOT EXISTS test;" -uroot 29 - mysql -e "create database IF NOT EXISTS test;" -uroot
30 # Detect LDAP configuration (seems volatile on trusty env)
31 - sed -e 's/cn=admin,dc=nodomain/'$(sudo /usr/sbin/slapcat|grep ^dn:|grep cn=|awk '{print $2}')'/' -i plugins/t/NPTest.cache.travis
30 - tools/setup 32 - tools/setup
31 - ./configure --enable-libtap 33 - ./configure --enable-libtap
32 - make 34 - make