mirror of https://github.com/dexidp/dex.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
611 B
34 lines
611 B
sudo: required |
|
services: |
|
- docker |
|
|
|
language: go |
|
|
|
go: |
|
- 1.4.3 |
|
- 1.5.3 |
|
|
|
env: |
|
- DEX_TEST_DSN="postgres://postgres@127.0.0.1:15432/postgres?sslmode=disable" ISOLATED=true |
|
|
|
install: |
|
- go get golang.org/x/tools/cmd/cover |
|
- go get golang.org/x/tools/cmd/vet |
|
- docker pull quay.io/coreos/postgres |
|
|
|
script: |
|
- docker run -d -p 127.0.0.1:15432:5432 quay.io/coreos/postgres |
|
- ./test |
|
- ./test-functional |
|
|
|
deploy: |
|
provider: script |
|
script: "./build-docker-push" |
|
skip_cleanup: true |
|
on: |
|
branch: master |
|
go: '1.5.3' |
|
condition: "$TRAVIS_PULL_REQUEST = false" |
|
|
|
notifications: |
|
email: false
|
|
|