forked from mystiq/dex
*: add functional tests to travis config
This commit is contained in:
parent
376b1bcb67
commit
5dd08a8dd4
1 changed files with 16 additions and 10 deletions
22
.travis.yml
22
.travis.yml
|
@ -1,17 +1,23 @@
|
||||||
|
sudo: required
|
||||||
|
services:
|
||||||
|
- docker
|
||||||
|
|
||||||
language: go
|
language: go
|
||||||
matrix:
|
go:
|
||||||
include:
|
- 1.4.3
|
||||||
- go: 1.4.3
|
- 1.5.2
|
||||||
install:
|
|
||||||
|
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/cover
|
||||||
- go get golang.org/x/tools/cmd/vet
|
- go get golang.org/x/tools/cmd/vet
|
||||||
- go: 1.5.2
|
- docker pull quay.io/ericchiang/postgres
|
||||||
install: true
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
- docker run -d -p 127.0.0.1:15432:5432 quay.io/ericchiang/postgres
|
||||||
- ./test
|
- ./test
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
email: false
|
email: false
|
||||||
|
|
||||||
sudo: false
|
|
||||||
|
|
Loading…
Reference in a new issue