*: run LDAP tests in travis

This commit is contained in:
Eric Chiang 2017-04-10 15:05:10 -07:00
parent 0ac11d93e6
commit b8ba59d7f6

View File

@ -1,5 +1,7 @@
language: go language: go
sudo: required
go: go:
- 1.7.5 - 1.7.5
- 1.8 - 1.8
@ -8,11 +10,14 @@ services:
- postgresql - postgresql
env: 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: install:
- go get -u github.com/golang/lint/golint - 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: script:
- make testall - make testall