Skip to content
Snippets Groups Projects
Commit fc1c60ed authored by Daniel Dao's avatar Daniel Dao
Browse files

add etcd to travis CI

This patch uses docker to run an etcd container in travis CI so we can
run storage/etcd conformance tests.
parent b4106228
No related branches found
No related tags found
No related merge requests found
...@@ -6,17 +6,20 @@ go: ...@@ -6,17 +6,20 @@ go:
- 1.8 - 1.8
- 1.9 - 1.9
go_import_path: github.com/coreos/dex
services: services:
- postgresql - postgresql
- docker
env: env:
- DEX_POSTGRES_DATABASE=postgres DEX_POSTGRES_USER=postgres DEX_POSTGRES_HOST="localhost" DEX_LDAP_TESTS=1 DEBIAN_FRONTEND=noninteractive - 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: 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 -E apt-get install -y --force-yes slapd time ldap-utils
- sudo /etc/init.d/slapd stop - sudo /etc/init.d/slapd stop
- docker run -d --net=host gcr.io/etcd-development/etcd:v3.2.9
script: script:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment