2016-08-18 22:34:41 +00:00
|
|
|
language: go
|
|
|
|
|
2017-04-10 22:05:10 +00:00
|
|
|
sudo: required
|
|
|
|
|
2016-08-18 22:34:41 +00:00
|
|
|
go:
|
2017-10-05 04:03:50 +00:00
|
|
|
- 1.8
|
|
|
|
- 1.9
|
2016-08-18 22:34:41 +00:00
|
|
|
|
2017-11-06 14:23:25 +00:00
|
|
|
go_import_path: github.com/coreos/dex
|
|
|
|
|
2016-09-23 06:23:56 +00:00
|
|
|
services:
|
|
|
|
- postgresql
|
2017-09-19 22:31:58 +00:00
|
|
|
- docker
|
2016-09-23 06:23:56 +00:00
|
|
|
|
|
|
|
env:
|
2017-11-06 14:23:25 +00:00
|
|
|
- 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
|
2016-09-23 06:23:56 +00:00
|
|
|
|
2016-08-18 22:34:41 +00:00
|
|
|
install:
|
|
|
|
- go get -u github.com/golang/lint/golint
|
2017-04-10 22:05:10 +00:00
|
|
|
- sudo -E apt-get install -y --force-yes slapd time ldap-utils
|
|
|
|
- sudo /etc/init.d/slapd stop
|
2017-11-06 14:23:25 +00:00
|
|
|
- docker run -d --net=host gcr.io/etcd-development/etcd:v3.2.9
|
2017-04-10 22:05:10 +00:00
|
|
|
|
2016-08-18 22:34:41 +00:00
|
|
|
|
|
|
|
script:
|
|
|
|
- make testall
|
2017-09-19 22:31:58 +00:00
|
|
|
- ./scripts/test-k8s.sh
|
2017-12-01 00:40:42 +00:00
|
|
|
- make verify-proto # Ensure proto generation doesn't depend on external packages.
|
2016-08-18 22:34:41 +00:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email: false
|