Sfoglia il codice sorgente

travis-ci: Detect LDAP config

Jan Wagner 10 anni fa
parent
commit
1584b6f54c
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      .travis.yml

+ 2 - 0
.travis.yml

@@ -28,6 +28,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