This repository has been archived on 2023-08-14. You can view files and clone it, but cannot push or open issues or pull requests.
dex/.travis.yml

36 lines
1019 B
YAML
Raw Normal View History

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:
2018-03-20 21:50:33 +00:00
- '1.10'
2018-10-23 00:44:24 +00:00
- '1.11'
2016-08-18 22:34:41 +00:00
go_import_path: github.com/dexidp/dex
services:
- postgresql
2017-09-19 22:31:58 +00:00
- 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 DEX_KEYSTONE_URL=http://localhost:5000 DEX_KEYSTONE_ADMIN_URL=http://localhost:35357 DEX_KEYSTONE_ADMIN_USER=demo DEX_KEYSTONE_ADMIN_PASS=DEMO_PASS
2016-08-18 22:34:41 +00:00
install:
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
- docker run -d --net=host gcr.io/etcd-development/etcd:v3.2.9
- docker run -d -p 0.0.0.0:5000:5000 -p 0.0.0.0:35357:35357 openio/openstack-keystone:pike
- |
until curl --fail http://localhost:5000/v3; do
echo 'Waiting for keystone...'
sleep 1;
done;
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