Skip to content

Commit

Permalink
Merge 96b8a91 into 5e28fb6
Browse files Browse the repository at this point in the history
  • Loading branch information
NickyMateev committed Apr 3, 2019
2 parents 5e28fb6 + 96b8a91 commit 3de6b41
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 1 deletion.
24 changes: 24 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
language: go

go:
- 1.11.x

addons:
postgresql: "9.6"

before_install:
- go get -tags 'postgres' -u github.com/golang-migrate/migrate/cmd/migrate
- go get -u github.com/golang/dep/cmd/dep
- dep ensure --vendor-only -v

install:
- go get golang.org/x/tools/cmd/cover
- go get github.com/mattn/goveralls

services:
- postgresql

script:
- migrate -source file://./storage/migrations -database "postgres://postgres:postgres@localhost:5432/postgres?sslmode=disable" up
- go test ./... -cover
- goveralls -service=travis-ci
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

[![Go Report Card](https://goreportcard.com/badge/github.com/NickyMateev/Reviewer)](https://goreportcard.com/report/github.com/NickyMateev/Reviewer)
[![Licence](https://img.shields.io/github/license/NickyMateev/Reviewer.svg?style=popout)](https://github.com/NickyMateev/Reviewer/blob/master/LICENSE)
[![Coverage Status](https://coveralls.io/repos/github/NickyMateev/Reviewer/badge.svg)](https://coveralls.io/github/NickyMateev/Reviewer)

<p align="center">
<img src="docs/images/ReviewerLogo.png">
Expand Down
2 changes: 1 addition & 1 deletion application.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
server:
port: 8888
port: 8080
request_timeout: 4000ms
storage:
type: postgres
Expand Down

0 comments on commit 3de6b41

Please sign in to comment.