File tree 2 files changed +13
-2
lines changed
2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 1
1
language : go
2
2
go :
3
3
- " 1.14.x"
4
+ env :
5
+ - COVER=-coverprofile=c.out
4
6
script :
5
- - go test -race ./...
6
-
7
+ - go test -race $COVER ./...
8
+ - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
9
+ - chmod +x ./cc-test-reporter
10
+ after_script :
11
+ - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
Original file line number Diff line number Diff line change 1
1
# go-todo-backend
2
2
3
+ [ ![ GoDoc] ( https://godoc.org/github.com/Fs02/go-todo-backend?status.svg )] ( https://godoc.org/github.com/Fs02/go-todo-backend )
4
+ [ ![ Build Status] ( https://travis-ci.com/Fs02/go-todo-backend.svg?branch=master )] ( https://travis-ci.com/Fs02/go-todo-backend )
5
+ [ ![ Go Report Card] ( https://goreportcard.com/badge/github.com/Fs02/go-todo-backend )] ( https://goreportcard.com/report/github.com/Fs02/go-todo-backend )
6
+ [ ![ Maintainability] ( https://api.codeclimate.com/v1/badges/d506b5b2df687cbcd358/maintainability )] ( https://codeclimate.com/github/Fs02/go-todo-backend/maintainability )
7
+ [ ![ Test Coverage] ( https://api.codeclimate.com/v1/badges/d506b5b2df687cbcd358/test_coverage )] ( https://codeclimate.com/github/Fs02/go-todo-backend/test_coverage )
8
+
3
9
Go Todo Backend Example Using Modular Project Layout for Product Microservice. It's suitable as starting point for a medium to larger project.
4
10
5
11
This example uses [ Chi] ( https://github.com/go-chi/chi ) for http router and [ REL] ( https://github.com/Fs02/rel ) for database access.
You can’t perform that action at this time.
0 commit comments