diff options
author | Jan Wagner <waja@cyconet.org> | 2015-10-20 21:08:25 (GMT) |
---|---|---|
committer | Jan Wagner <waja@cyconet.org> | 2015-10-21 14:33:59 (GMT) |
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 3d396e4..6068b0d 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -29,6 +29,8 @@ install: | |||
29 | before_script: | 29 | before_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 |