2016-08-18 15:34:41 -07:00
|
|
|
language: go
|
|
|
|
|
2017-04-10 15:05:10 -07:00
|
|
|
sudo: required
|
|
|
|
|
2016-08-18 15:34:41 -07:00
|
|
|
go:
|
2017-10-04 21:03:50 -07:00
|
|
|
- 1.8
|
|
|
|
- 1.9
|
2018-03-20 14:50:33 -07:00
|
|
|
- '1.10'
|
2016-08-18 15:34:41 -07:00
|
|
|
|
2017-11-06 14:23:25 +00:00
|
|
|
go_import_path: github.com/coreos/dex
|
|
|
|
|
2016-09-22 23:23:56 -07:00
|
|
|
services:
|
|
|
|
- postgresql
|
2017-09-19 15:31:58 -07:00
|
|
|
- docker
|
2016-09-22 23:23:56 -07: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-22 23:23:56 -07:00
|
|
|
|
2016-08-18 15:34:41 -07:00
|
|
|
install:
|
|
|
|
- go get -u github.com/golang/lint/golint
|
2017-04-10 15:05:10 -07: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 15:05:10 -07:00
|
|
|
|
2016-08-18 15:34:41 -07:00
|
|
|
|
|
|
|
script:
|
|
|
|
- make testall
|
2017-09-19 15:31:58 -07:00
|
|
|
- ./scripts/test-k8s.sh
|
2017-11-30 16:40:42 -08:00
|
|
|
- make verify-proto # Ensure proto generation doesn't depend on external packages.
|
2016-08-18 15:34:41 -07:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email: false
|