Skip to content

Commit

Permalink
*: run LDAP tests in travis
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Chiang committed Apr 10, 2017
1 parent 0ac11d9 commit b8ba59d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .travis.yml
@@ -1,5 +1,7 @@
language: go

sudo: required

go:
- 1.7.5
- 1.8
Expand All @@ -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
Expand Down

0 comments on commit b8ba59d

Please sign in to comment.