Skip to content

Commit

Permalink
setup postgres on travis
Browse files Browse the repository at this point in the history
  • Loading branch information
Frank C. Eckert committed Aug 16, 2015
1 parent f47dcb6 commit 4114c1c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
language: go
go:
- 1.4.2
- 1.4.2
addons:
postgresql: "9.4"
env:
- DATABASE_URL=postgres://postgres@localhost/?sslmode=disable
before_install:
- go get github.com/axw/gocov/gocov
- go get github.com/mattn/goveralls
- if ! go get code.google.com/p/go.tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
script:
- $HOME/gopath/bin/goveralls -service=travis-ci
- $HOME/gopath/bin/goveralls -service=travis-ci

0 comments on commit 4114c1c

Please sign in to comment.