This repository has been archived on 2022-08-17. You can view files and clone it, but cannot push or open issues or pull requests.
dex/.travis.yml
bobbyrullo 0f7fed8d5b Merge pull request #236 from bobbyrullo/push_it_good
.travis.yml: Push to repo after success
2015-12-21 15:44:42 -08:00

27 lines
575 B
YAML

sudo: required
services:
- docker
language: go
go:
- 1.4.3
- 1.5.2
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
after_success:
- if [[ "$TRAVIS_GO_VERSION" == "1.5.2" && "$TRAVIS_PULL_REQUEST" == "false" && "$TRAVIS_BRANCH" == "master" ]]; then ./build-docker-push ;fi
notifications:
email: false