From b8ba59d7f69028938e1fb5974a74507227230852 Mon Sep 17 00:00:00 2001 From: Eric Chiang Date: Mon, 10 Apr 2017 15:05:10 -0700 Subject: [PATCH] *: run LDAP tests in travis --- .travis.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 710223eb..bddefe9f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,7 @@ language: go +sudo: required + go: - 1.7.5 - 1.8 @@ -8,11 +10,14 @@ services: - postgresql env: - - DEX_POSTGRES_DATABASE=postgres DEX_POSTGRES_USER=postgres DEX_POSTGRES_HOST="localhost" + - DEX_POSTGRES_DATABASE=postgres DEX_POSTGRES_USER=postgres DEX_POSTGRES_HOST="localhost" DEX_LDAP_TESTS=1 DEBIAN_FRONTEND=noninteractive install: - go get -u github.com/golang/lint/golint + - sudo -E apt-get install -y --force-yes slapd time ldap-utils + - sudo /etc/init.d/slapd stop + script: - make testall