forked from mystiq/dex
ccf85a7269
Add etcd backed storage
30 lines
613 B
YAML
30 lines
613 B
YAML
language: go
|
|
|
|
sudo: required
|
|
|
|
go:
|
|
- 1.8
|
|
- 1.9
|
|
|
|
go_import_path: github.com/coreos/dex
|
|
|
|
services:
|
|
- postgresql
|
|
- docker
|
|
|
|
env:
|
|
- DEX_POSTGRES_DATABASE=postgres DEX_POSTGRES_USER=postgres DEX_POSTGRES_HOST="localhost" DEX_ETCD_ENDPOINTS=http://localhost:2379 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
|
|
- docker run -d --net=host gcr.io/etcd-development/etcd:v3.2.9
|
|
|
|
|
|
script:
|
|
- make testall
|
|
- ./scripts/test-k8s.sh
|
|
|
|
notifications:
|
|
email: false
|