Skip to content

Commit

Permalink
chore: add ci and badge
Browse files Browse the repository at this point in the history
  • Loading branch information
easonlin404 committed Dec 11, 2018
1 parent ebdb92f commit a6126ba
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
15 changes: 15 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
language: go

go:
- 1.9.x
- 1.10.x
- 1.11.x

before_install:
- go get -t -v ./...

script:
- go test -coverprofile=coverage.txt -covermode=atomic

after_success:
- bash <(curl -s https://codecov.io/bash)
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@

Buffalo middleware to automatically generate RESTful API documentation with Swagger 2.0.

<!--[![Travis branch](https://img.shields.io/travis/swaggo/echo-swagger/master.svg)](https://travis-ci.org/swaggo/echo-swagger)-->
<!--[![Codecov branch](https://img.shields.io/codecov/c/github/swaggo/echo-swagger/master.svg)](https://codecov.io/gh/swaggo/echo-swagger)-->
<!--[![Go Report Card](https://goreportcard.com/badge/github.com/swaggo/echo-swagger)](https://goreportcard.com/report/github.com/swaggo/echo-swagger)-->
[![Travis branch](https://img.shields.io/travis/swaggo/buffalo-swagger/master.svg)](https://travis-ci.org/swaggo/buffalo-swagger)
[![Codecov branch](https://img.shields.io/codecov/c/github/swaggo/buffalo-swagger/master.svg)](https://codecov.io/gh/swaggo/buffalo-swagger)
[![Go Report Card](https://goreportcard.com/badge/github.com/swaggo/buffalo-swagger)](https://goreportcard.com/report/github.com/swaggo/buffalo-swagger)
[![GoDoc](https://godoc.org/github.com/swaggo/buffalo-swagger?status.svg)](https://godoc.org/github.com/swaggo/buffalo-swagger)


## Usage
Expand Down

0 comments on commit a6126ba

Please sign in to comment.